mirror of
https://github.com/TeamPiped/Piped-Docker.git
synced 2024-08-14 23:56:53 +00:00
Fix the "Error 503 Backend fetch failed" (#8)
* Fix backend error on recreation * typo
This commit is contained in:
parent
eb62697497
commit
e1acda33ac
2 changed files with 10 additions and 0 deletions
|
@ -28,6 +28,11 @@ services:
|
|||
container_name: varnish
|
||||
depends_on:
|
||||
- piped
|
||||
healthcheck:
|
||||
test: ash -c "wget --no-verbose --tries=1 --spider 127.0.0.1:80/trending?region=US || (varnishreload && exit 1)"
|
||||
interval: 10s
|
||||
timeout: 10s
|
||||
retries: 1
|
||||
caddy:
|
||||
image: caddy:2-alpine
|
||||
restart: unless-stopped
|
||||
|
|
|
@ -28,6 +28,11 @@ services:
|
|||
container_name: varnish
|
||||
depends_on:
|
||||
- piped
|
||||
healthcheck:
|
||||
test: ash -c "wget --no-verbose --tries=1 --spider 127.0.0.1:80/trending?region=US || (varnishreload && exit 1)"
|
||||
interval: 10s
|
||||
timeout: 10s
|
||||
retries: 1
|
||||
nginx:
|
||||
image: nginx:mainline-alpine
|
||||
restart: unless-stopped
|
||||
|
|
Loading…
Reference in a new issue