Files
IPTV-Restream/docker-compose.yml
Aron Wiederkehr 8d0032ad59 feat: Add admin mode functionality with login and status checks
- Implemented admin mode configuration in docker-compose.yml
- Added AdminContext and AdminModal components for managing admin state
- Integrated admin login functionality in AuthController
- Updated App component to handle admin status and modal display
- Enhanced ChannelList, ChannelModal, and TvPlaylistModal to support admin features
- Added sensitive information handling in ChannelModal and TvPlaylistModal
- Modified SocketService methods to include admin checks for channel and playlist operations
2025-04-28 11:16:35 +02:00

61 lines
1.5 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
restart: unless-stopped
volumes:
- streams_data:/streams
- channels:/channels
environment:
STORAGE_PATH: /streams/
# If you have problems with the playlist, set the backend url manually here
#BACKEND_URL: http://localhost:5000
# Admin mode configuration
ADMIN_ENABLED: "true"
ADMIN_PASSWORD: "your_secure_password"
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
channels:
# Internal docker network
networks:
app-network:
driver: bridge