Skip to main content

Architects

Architects contain the logic surrounding deploying a server that workers will be able to access.

ec2

desttypedefaulthelpchoicesrequired
server_typestrnodeNoneNoneFalse
server_source_pathstr???Optional path to a prepared server directory containing everything needed to run a server of the given type. Overrides server type.NoneFalse
instance_typestrt2.microInstance type to run routerNoneFalse
subdomainstrThe task name defined in your task's hydra configSubdomain name for routingNoneFalse
profile_namestr???Profile name for deploying an ec2 instanceNoneFalse

heroku

desttypedefaulthelpchoicesrequired
server_typestrnodeNoneNoneFalse
server_source_pathstr???Optional path to a prepared server directory containing everything needed to run a server of the given type. Overrides server type.NoneFalse
use_hobbyboolFalseLaunch on the Heroku Hobby tierNoneFalse
heroku_teamunknown???Heroku team to use for this launchNoneFalse
heroku_app_nameunknown???Heroku app name to use for this launchNoneFalse
heroku_config_argsunknown{}str:str dict containing all heroku config variables to set for the appNoneFalse

mock

desttypedefaulthelpchoicesrequired
server_typestrnodeNoneNoneFalse
server_source_pathstr???Optional path to a prepared server directory containing everything needed to run a server of the given type. Overrides server type.NoneFalse
should_run_serverboolFalseAddressible location of the serverNoneFalse
portstr3000Port to launch the server onNoneFalse

local

desttypedefaulthelpchoicesrequired
server_typestrnodeNoneNoneFalse
server_source_pathstr???Optional path to a prepared server directory containing everything needed to run a server of the given type. Overrides server type.NoneFalse
hostnamestrlocalhostAddressible location of the serverNoneFalse
portstr3000Port to launch the server onNoneFalse