-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.env.yml
More file actions
48 lines (39 loc) · 1.14 KB
/
docker-compose.env.yml
File metadata and controls
48 lines (39 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
version: '3.8'
# ============================================
# SubCaster Production - ENV File Variante
# ============================================
# Verwendet .env Datei für alle Variablen
#
# VERWENDUNG:
# 1. Stelle sicher dass .env existiert und ausgefüllt ist
# 2. Starte mit: docker-compose -f docker-compose.env.yml up -d
# ============================================
services:
subcaster:
image: ghcr.io/lokke/subcaster:latest
container_name: subcaster
restart: unless-stopped
ports:
- "31337:31337" # HTTP/WebSocket
- "40000-49999:40000-49999/udp" # WebRTC RTP
# Lädt ALLE Variablen aus .env
env_file:
- .env
# Zusätzliche System-Variablen
environment:
- NODE_ENV=production
- PORT=31337
- DOCKER_ENV=true
volumes:
- ./docker-data:/app/docker-data
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:31337/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
networks:
- subcaster-network
networks:
subcaster-network:
driver: bridge