Skip to content

Latest commit

 

History

History
39 lines (38 loc) · 3.87 KB

env.md

File metadata and controls

39 lines (38 loc) · 3.87 KB

Environment Variables for deployment

Variable Name Description Required Default Value
DATABASE_URL URL to the PostgreSQL database Yes
ECTO_IPV6 If database host is IPv6 No
POOL_SIZE PostgreSQL pool size No 10
RIOT_TOKEN Token to access Riot API Yes
S3_ACCESS_KEY S3 access key Yes
S3_SECRET_KEY S3 secret key Yes
S3_ENDPOINT S3 endpoint Yes
S3_PORT S3 port No 9000
S3_PROTO S3 proto No http
S3_BUCKET_PICTURES Name of the bucket to store teams and pro pictures No pictures
S3_BUCKET_REPLAYS Name of the bucket to store replays No replays
S3_BUCKET_ORIGINAL Name of the bucket to store JSON No original
S3_REPLAYS_URL S3 replay URL useful if the bucket is behind a CDN Yes
S3_PICTURES_URL S3 pictures URL Yes
RELEASE_COOKIE The erlang cookie for cluster No
LIBCLUSTER Libcluster enabled No false
K8_NODE_BASENAME Libcluster K8s strategy node basename No
K8_SELECTOR Libcluster K8s selector No
K8_NAMESPACE Libcluster K8s namespace No
PHX_SERVER Web server enabled? No false
SECRET_KEY_BASE Web server secret key base for sessions and cookies Yes
PHX_PORT Web server port No 4000
PHX_PUB_PORT Web server public port No 4000
PHX_SCHEME Web server scheme No https
PHX_HOST Web server host Yes
ADMIN_PASSWORD Web server admin password Yes
SPECTATOR_SERVER Spectator server enabled? Yes
SPECTATOR_HOST Spectator server host Yes
SPECTATOR_PORT Spectator server port Yes 3000
SPECTATOR_PUB_PORT Spectator server public port Yes 3000
SCHEDULER Scheduler enabled? No false
PRO_SCHEDULER Pro scheduler enabled? No false
SCHEDULER_PLATFORMS Which platform_id are we looking for ? ex: "kr,euw" No ""
OBAN_QUEUES The queues for oban ex: "default,10" No
DDRAGON_CACHE Ddragon cache enabled? No false