Skip to content

Commit

Permalink
worked on deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
jinnerbichler committed Jan 26, 2018
1 parent 040a585 commit d98bcc1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ services:
image: homeassistant/home-assistant:0.61.1
environment:
- "TZ=Europe/Berlin"
- "COFFEE_FLASH_BASE_URL=http://flash-home.duckdns.org:3000/"
- "PROVIDER_FLASH_BASE_URL=http://flash-home.duckdns.org:3001/"
env_file:
- env
ports:
- 80:8123 # Home Assistant
- 1883:1883 # MQTT
Expand Down
Empty file added env
Empty file.
4 changes: 2 additions & 2 deletions fabfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ def deploy():
with cd('/srv/flash-home'):
run('git pull origin master')

run('echo "COFFEE_FLASH_BASE_URL=http://flash-home.duckdns.org:3000/" > .env')
run('echo "PROVIDER_FLASH_BASE_URL=http://flash-home.duckdns.org:3001/" >> .env')
run('echo "COFFEE_FLASH_BASE_URL=http://flash-home.duckdns.org:3000/" > env')
run('echo "PROVIDER_FLASH_BASE_URL=http://flash-home.duckdns.org:3001/" >> env')

run('docker-compose --project-name flash-home pull')
run('docker-compose --project-name flash-home up -d --build --force-recreate')
Expand Down

0 comments on commit d98bcc1

Please sign in to comment.