Update Owncast service definition
- Point at the modern Docker image organization - Enable healthcheck via the /api/status endpoint
This commit is contained in:
parent
c0b4ecdd1c
commit
729fb5c690
14
compose.yml
14
compose.yml
@ -3,7 +3,7 @@ version: "3.8"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: gabekangas/owncast:0.2.1
|
image: owncast/owncast:0.2.1
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
volumes:
|
volumes:
|
||||||
@ -22,12 +22,12 @@ services:
|
|||||||
- "traefik.tcp.routers.${STACK_NAME}-rtmp.service=${STACK_NAME}-rtmp"
|
- "traefik.tcp.routers.${STACK_NAME}-rtmp.service=${STACK_NAME}-rtmp"
|
||||||
- "traefik.tcp.services.${STACK_NAME}-rtmp.loadbalancer.server.port=1935"
|
- "traefik.tcp.services.${STACK_NAME}-rtmp.loadbalancer.server.port=1935"
|
||||||
- "coop-cloud.${STACK_NAME}.version=0.3.0+0.2.1"
|
- "coop-cloud.${STACK_NAME}.version=0.3.0+0.2.1"
|
||||||
# healthcheck:
|
healthcheck:
|
||||||
# test: ["CMD", "curl", "-f", "http://localhost"]
|
test: ["CMD", "curl", "-f", "http://localhost:8080/api/status"]
|
||||||
# interval: 30s
|
interval: 30s
|
||||||
# timeout: 10s
|
timeout: 10s
|
||||||
# retries: 10
|
retries: 10
|
||||||
# start_period: 1m
|
start_period: 1m
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user