Files
IPTV-Restream/docker-compose.yml
2025-01-07 17:17:26 +00:00

53 lines
1.2 KiB
YAML

version: "3.9"
services:
iptv_restream_frontend:
build:
context: ./frontend
dockerfile: Dockerfile
args:
# Set this to the server ip/domain, if your backend is deployed on a different server
#VITE_BACKEND_URL: http://123.123.123.123:5000
VITE_STREAM_DELAY: 18
VITE_STREAM_PROXY_DELAY: 30
# Optional settings for synchronization
#VITE_SYNCHRONIZATION_TOLERANCE: 0.8
#VITE_SYNCHRONIZATION_MAX_DEVIATION: 4
#VITE_SYNCHRONIZATION_ADJUSTMENT: 0.06
#VITE_SYNCHRONIZATION_MAX_ADJUSTMENT: 0.16
networks:
- app-network
iptv_restream_backend:
build:
context: ./backend
dockerfile: Dockerfile
volumes:
- streams_data:/streams
environment:
STORAGE_PATH: /streams/
networks:
- app-network
# Nginx Reverse Proxy
iptv_restream_nginx:
image: nginx:alpine
volumes:
- ./deployment/nginx/nginx.conf:/etc/nginx/nginx.conf
- streams_data:/streams
ports:
- "80:80"
networks:
- app-network
volumes:
streams_data:
driver: local
driver_opts:
type: tmpfs
device: tmpfs
# Internal docker network
networks:
app-network:
driver: bridge