-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
78 lines (72 loc) · 1.63 KB
/
docker-compose.yml
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
networks:
metrics:
driver: bridge
secrets:
gf_admin_password:
file:./secrets/gf_admin_password.txt
services:
# Homelab Dashboard
heimdall:
image: lscr.io/linuxserver/heimdall:latest
container_name: heimdall
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
volumes:
- /path/to/appdata/config:/config
ports:
- 80:80
- 443:443
restart: unless-stopped
# Services
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- JELLYFIN_PublishedServerUrl=192.168.0.5 #optional
volumes:
- ./filesystem/config/jellyfin:/config
- ./filesystem/media:/media
ports:
- 8000:8096
- 8920:8920 #optional
- 7359:7359/udp #optional
- 1900:1900/udp #optional
restart: unless-stopped
filebrowser:
image: filebrowser/filebrowser:s6
container_name: filebrowser
volumes:
- ./filesystem/config/filebrowser:/config
- ./filesystem/media:/srv
ports:
- 8001:80
restart: always
# Metrics
prometheus:
image: prom/prometheus
volumes:
- "./prometheus.yml:/etc/prometheus/prometheus.yml"
ports:
- 9090:9090
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
- metrics
grafana:
image: grafana/grafana
container_name: grafana
hostname: grafana
environment:
- GF_SECURITY_ADMIN_PASSWORD: /run/secrets/gf_admin_password
restart: unless-stopped
ports:
- 3000:3000
networks:
- metrics
secrets:
- gf_admin_password