Skip to content

Commit

Permalink
Merge pull request #25 from startersclan/enhancement/development-add-…
Browse files Browse the repository at this point in the history
…depends-on-db-to-daemon-to-make-it-stop-before-db

Enhancement (development): Add `depends_on: db` to `daemon` to make it stop before `db`
  • Loading branch information
leojonathanoh authored Nov 2, 2023
2 parents b70976a + 2192594 commit 7660a66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ services:
- 27500:27500/udp # For external servers to send logs to the daemon
networks:
- default
depends_on:
- db
command:
- --ip=0.0.0.0
- --port=27500
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ services:
- 27500:27500/udp # For external servers to send logs to the daemon
networks:
- default
depends_on:
- db
command:
- --ip=0.0.0.0
- --port=27500
Expand Down

0 comments on commit 7660a66

Please sign in to comment.