Skip to content

Commit

Permalink
accountname -> ACCOUNT
Browse files Browse the repository at this point in the history
  • Loading branch information
ngerstle committed Feb 26, 2018
1 parent d2e56dd commit 9a3cd81
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
config.json
.DS_Store
*.pyc
venv/
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
- AWS_SESSION_TOKEN
- AWS_SECURITY_TOKEN
- AWS_DEFAULT_REGION=eu-west-1
- accountname=accountname
- ACCOUNT
ports:
- "8000:8000"
logging:
Expand Down
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9a3cd81

Please sign in to comment.