mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-29 02:59:26 +01:00
Merge pull request 'Add healthcheck to docker-compose.yml' (#161) from sethsimmons/teddit:main into main
Reviewed-on: https://codeberg.org/teddit/teddit/pulls/161
This commit is contained in:
commit
580774f290
@ -18,6 +18,10 @@ services:
|
|||||||
- 8080:8080
|
- 8080:8080
|
||||||
networks:
|
networks:
|
||||||
- teddit_net
|
- teddit_net
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "wget" ,"--no-verbose", "--tries=1", "--spider", "http://localhost:8080/about"]
|
||||||
|
interval: 1m
|
||||||
|
timeout: 3s
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
networks:
|
networks:
|
||||||
|
Loading…
Reference in New Issue
Block a user