From 9a3cd8114f8492f3c984958ca1a1e95b3cdfbedf Mon Sep 17 00:00:00 2001 From: ngerstle Date: Mon, 26 Feb 2018 14:20:04 +0100 Subject: [PATCH] accountname -> ACCOUNT --- .gitignore | 1 + docker-compose.yml | 2 +- entrypoint.sh | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 1d5fa2a1d..a59fa299d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +config.json .DS_Store *.pyc venv/ diff --git a/docker-compose.yml b/docker-compose.yml index 6e8a11613..7b9c9b082 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,7 +9,7 @@ services: - AWS_SESSION_TOKEN - AWS_SECURITY_TOKEN - AWS_DEFAULT_REGION=eu-west-1 - - accountname=accountname + - ACCOUNT ports: - "8000:8000" logging: diff --git a/entrypoint.sh b/entrypoint.sh index 7a18cb058..0f72d57da 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,11 +1,11 @@ #!/bin/sh -if [ "$accountname" != "demo" ] +if [ "$ACCOUNT" != "demo" ] then pipenv run python cloudmapper.py gather --account-name $ACCOUNT else cp config.json.demo config.json fi -pipenv run python cloudmapper.py prepare --account $accountname +pipenv run python cloudmapper.py prepare --account $ACCOUNT pipenv run python cloudmapper.py serve --public