File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,8 @@ After few seconds, open `http://<host>` to see the result.
2323
2424The following environment variables can be used to configure the container:
2525
26- AWS_S3_OBJECT If set, should be an S3 location of a zip file named app.zip
26+ APP_ENVIRONMENT The application environment (e.g. production, development..).
27+ AWS_S3_OBJECT If set, should be an S3 location of a zip file
2728 containing the code to deploy to this instance.
2829 AWS_DEFAULT_REGION The region of the S3 bucket.
2930 AWS_ACCESS_KEY_ID The AWS access key ID for accessing the S3 bucket.
Original file line number Diff line number Diff line change @@ -13,8 +13,9 @@ if [ ! -f /tmp/supervisord-nginx.log ] ; then
1313 fi
1414
1515 cd /var/app/current
16- if [ -f .kubernetes/bootstrap.sh ] ; then
17- source .kubernetes/bootstrap.sh
16+
17+ if [ -f .docker/${APP_ENVIRONMENT} /bootstrap.sh ] ; then
18+ source .docker/${APP_ENVIRONMENT} /bootstrap.sh
1819 fi
1920
2021 touch /tmp/supervisord-nginx.log
You can’t perform that action at this time.
0 commit comments