Skip to content

Commit

Permalink
docker-compose.yml: add depends_on for more services
Browse files Browse the repository at this point in the history
The `discord`, `irc`, and `npc` services technically depend on
the `mysql` service, so we add the dependency for completeness.

The dependency was not explicitly expressed before since we
almost always had the mysql service running anyway.
  • Loading branch information
hemberger committed Mar 26, 2018
1 parent bf3c14e commit a8f6a60
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,20 +77,26 @@ services:
build:
context: .
dockerfile: ./tools/discord/Dockerfile
depends_on:
- mysql
volumes:
- ./config:/smr/config

irc:
build:
context: .
dockerfile: ./tools/irc/Dockerfile
depends_on:
- mysql
volumes:
- ./config:/smr/config

npc:
build:
context: .
dockerfile: ./tools/npc/Dockerfile
depends_on:
- mysql
volumes:
- ./config:/smr/config

Expand Down

0 comments on commit a8f6a60

Please sign in to comment.