mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 09:01:03 -08:00
* docs(docker): restore self-hosted PWA compose flow * fix(docker): supervise self-hosted runtime processes * fix(docker): exit cleanly on container stop
22 lines
517 B
YAML
22 lines
517 B
YAML
---
|
|
services:
|
|
iptvnator:
|
|
image: 4gray/iptvnator:latest
|
|
build:
|
|
context: ..
|
|
dockerfile: docker/Dockerfile
|
|
restart: unless-stopped
|
|
ports:
|
|
- "4333:80"
|
|
environment:
|
|
BACKEND_URL: /api
|
|
CLIENT_URL: http://localhost:4333
|
|
PORT: "3000"
|
|
IPTVNATOR_PROXY_ALLOW_PRIVATE_NETWORKS: "0"
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1/api/health >/dev/null || exit 1"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 10s
|