-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (35 loc) · 876 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
35 lines (35 loc) · 876 Bytes
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
services:
mycelium:
build: .
image: ghcr.io/corveck79/mycelium:latest
container_name: mycelium
restart: unless-stopped
ports:
- "8088:8088"
- "8089:8089"
- "2049:2049"
- "4450:445"
env_file:
- .env
environment:
- LISTEN_HOST=0.0.0.0
- LISTEN_PORT=8088
devices:
- /dev/dri:/dev/dri
group_add:
- "937"
volumes:
- ./data:/data
- ./static/jellyfin-splash.png:/app/static/jellyfin-splash.png:ro
healthcheck:
test: ["CMD", "python", "-c",
"import urllib.request,sys; r=urllib.request.urlopen('http://127.0.0.1:8088/health',timeout=5); sys.exit(0 if r.status==200 else 1)"]
interval: 60s
timeout: 10s
retries: 3
start_period: 30s
logging:
driver: json-file
options:
max-size: "10m"
max-file: "5"