Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/splits-io. a speedrunning data store and analysis engine splits.io
Something went wrong. Try again.
1234567891011121314#!/usr/bin/env bash
cd /app
# ~/.env is created by the launch configuration's User Data. It's just a file full of "export SOME_ENV_VAR=value".source ~/.envrm ~/.env
# envsubst will replace all $ENV_VARS_LIKE_THIS in Dockerfile with their actual values.cat Dockerfile-production | envsubst > Dockerfile-production.tmpmv -f Dockerfile-production.tmp Dockerfile-production
/usr/local/bin/docker-compose --file docker-compose-production.yml up -d > /var/log/docker-compose.log 2> /var/log/docker-compose.log