compose.yml
Raw
1services:
2 webrtc-tool:
3 build:
4 context: .
5 ports:
6 - "8080:8080"
7 volumes:
8 # Bind-mount a host directory the entrypoint will drop index.html into.
9 # Point your own web server (nginx/caddy/python -m http.server / etc.)
10 # at this directory to serve the page. Anything else placed here is
11 # preserved; only index.html is overwritten on container start.
12 - ./static:/static
13 healthcheck:
14 test: ["CMD-SHELL", "curl --show-error --silent http://localhost:8080/health -o /dev/null"]
15 interval: 30s
16 timeout: 5s
17 retries: 3
18 start_period: 5s
19