mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-11 19:46:16 -08:00
docs(docker): restore self-hosted PWA compose flow
This commit is contained in:
1 parent
3096115e64
commit
23a1330a14
7 files changed
+377
-51
No files matched your search
+14
-12
@@ -1,18 +1,20 @@
|
||||
---
|
||||
services:
|
||||
backend:
|
||||
image: 4gray/iptvnator-backend:latest
|
||||
ports:
|
||||
- "7333:3000"
|
||||
environment:
|
||||
- CLIENT_URL=http://localhost:4333
|
||||
# this one should match with the address and port in frontend CLIENT_URL env
|
||||
|
||||
frontend:
|
||||
iptvnator:
|
||||
image: 4gray/iptvnator:latest
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: docker/Dockerfile
|
||||
ports:
|
||||
- "4333:80"
|
||||
environment:
|
||||
- BACKEND_URL=http://localhost:7333
|
||||
# this one should match with the address of the backend service
|
||||
|
||||
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
|
||||
Reference in new issue
Block a user