diff options
author | 2019-09-30 13:35:27 +1000 | |
---|---|---|
committer | 2019-09-30 13:35:27 +1000 | |
commit | d05e74c201fc785b96b8afd0dff94c2831179aba (patch) | |
tree | 89b821b9b2ceff938626906d8f7c1f3817d299b0 | |
parent | Do up some basic setup instructions for new setup. (diff) |
Make `bot` wait for `web`, use `latest` web image.
-rw-r--r-- | docker-compose.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 045703402..9684a3c62 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,7 +13,7 @@ services: POSTGRES_USER: pysite web: - image: pythondiscord/site:dev + image: pythondiscord/site:latest command: ["run", "--debug"] networks: default: @@ -37,7 +37,8 @@ services: volumes: - ./logs:/bot/logs - .:/bot:ro + depends_on: + - web environment: BOT_TOKEN: ${BOT_TOKEN} BOT_API_KEY: badbot13m0n8f570f942013fc818f234916ca531 - DATABASE_URL: postgres://pysite:pysite@postgres:5432/pysite |