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
|
||||
networks:
|
||||
- teddit_net
|
||||
healthcheck:
|
||||
test: ["CMD", "wget" ,"--no-verbose", "--tries=1", "--spider", "http://localhost:8080/about"]
|
||||
interval: 1m
|
||||
timeout: 3s
|
||||
depends_on:
|
||||
- redis
|
||||
networks:
|
||||
|
|
Loading…
Reference in New Issue