-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathdocker-compose.yml
220 lines (202 loc) Β· 5.65 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
version: "3" # can be adapapted if necessary
services:
heimdall: # Dashboard for all you Apps
image: linuxserver/heimdall
container_name: heimdall
environment:
- PUID=${USER_ID}
- PGID=${GROUP_ID}
- TZ=Europe/Berlin
volumes:
- ${PATH_TO_DISK}/appdata/heimdall:/config
ports:
- 80:80
- 443:443
restart: unless-stopped
portainer: # UI based management of Docker
image: portainer/portainer-ce
container_name: portainer
command: -H unix:///var/run/docker.sock
restart: unless-stopped
ports:
- 9000:9000
- 8000:8000
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer_data:/data
pihole: # Pi-hole
container_name: pihole
image: pihole/pihole:latest
ports:
- "53:53/tcp"
- "53:53/udp"
- "8080:80/tcp"
environment:
TZ: 'Europe/Berlin'
DNSMASQ_LISTENING: 'all' # set this to all if pihole will only be accessible within your local network (non internet facing). https://github.com/pi-hole/docker-pi-hole?tab=readme-ov-file#optional-variables
QUERY_LOGGING: 'false' # Disable Query logging. https://github.com/pi-hole/docker-pi-hole?tab=readme-ov-file#optional-variables
# WEBPASSWORD: 'set a secure password here or it will be random'
# Volumes store your data between container upgrades
volumes:
- ${PATH_TO_DISK}/appdata/pihole/config:/etc/pihole
- ${PATH_TO_DISK}/appdata/pihole/dnsmasq.d:/etc/dnsmasq.d
restart: unless-stopped
cloudflared: # CloudflareD Tunnel
container_name: cloudflared
image: cloudflare/cloudflared
command: tunnel --no-autoupdate run
environment:
- TUNNEL_TOKEN=
restart: unless-stopped
# plex: # Plex Media Server
# image: linuxserver/plex
# container_name: plex
# network_mode: host
# environment:
# - PUID=${USER_ID}
# - PGID=${GROUP_ID}
# - VERSION=docker
# - UMASK_SET=022 #optional
# - PLEX_CLAIM= #optional
# volumes:
# - ${PATH_TO_DISK}/appdata/plex:/config
# - ${PATH_TO_DISK}/media/tv:/tv
# - ${PATH_TO_DISK}/media/movies:/movies
# - ${PATH_TO_DISK}/media/music:/music
# - ${PATH_TO_DISK}/appdata/plex:/transcode
# restart: unless-stopped
# cloudcmd: # UI based filemanager
# image: coderaiser/cloudcmd:latest-alpine
# container_name: cloudcmd
# ports:
# - 8008:8000
# volumes:
# - ~:/root
# - /:/mnt/fs
pyload: # pyload - download manager for your NAS
image: linuxserver/pyload
container_name: pyload
environment:
- PUID=${USER_ID}
- PGID=${GROUP_ID}
- TZ=Europe/Berlin
volumes:
- ${PATH_TO_DISK}/appdata/pyload:/config
- ${PATH_TO_DISK}/downloads:/downloads
ports:
- 8088:8000
- 7227:7227 #optional
restart: unless-stopped
# nextcloud_postgres: # DB for Nextcloud
# image: postgres
# container_name: nextcloud_postgres
# restart: always
# volumes:
# - nextcloud_postgres:/var/lib/postgresql/data
# environment:
# - POSTGRES_PASSWORD=
# - POSTGRES_DATABASE=nextcloud
# - POSTGRES_USER=nextcloud
# nextcloud: # Nextcloud
# image: nextcloud
# container_name: nextcloud
# ports:
# - 8081:80
# links:
# - nextcloud_postgres
# volumes:
# - ${PATH_TO_DISK}/nextcloud:/var/www/html
# restart: unless-stopped
homebridge: # Homebridge
image: homebridge/homebridge:latest
network_mode: host
volumes:
- ${PATH_TO_DISK}/appdata/homebridge:/homebridge
logging:
driver: json-file
options:
max-size: "10mb"
max-file: "1"
restart: unless-stopped
deconz: # deCONZ
image: deconzcommunity/deconz
container_name: deconz
ports:
- 8888:80
- 8443:443
volumes:
- ${PATH_TO_DISK}/appdata/deconz:/opt/deCONZ
devices:
- /dev/ttyUSB0 # USB device for Conbee II
environment:
- DECONZ_WEB_PORT=8888
- DECONZ_WS_PORT=8443
- DEBUG_INFO=1
- DEBUG_APS=0
- DEBUG_ZCL=0
- DEBUG_ZDP=0
- DEBUG_OTA=0
restart: unless-stopped
# homeassistant: # homeassistant
# image: homeassistant/raspberrypi4-homeassistant:stable
# container_name: home-assistant
# environment:
# - TZ=Europe/Berlin
# volumes:
# - ${PATH_TO_DISK}/appdata/homeassistant:/config
# ports:
# - 8123:8123
# restart: unless-stopped
## Monitoring Stack:
telegraf:
image: telegraf:latest
container_name: telegraf
command: --config-directory /etc/telegraf/telegraf.d
depends_on:
- influxdb
networks:
- influxdb
volumes:
- ${PATH_TO_DISK}/appdata/monitoring/telegraf:/etc/telegraf
restart: always
influxdb:
image: influxdb:latest
container_name: influxdb
networks:
- influxdb
volumes:
- influxdb-storage:/var/lib/influxdb
restart: unless-stopped
grafana:
image: grafana/grafana:latest
container_name: grafana
depends_on:
- influxdb
ports:
- 3000:3000
networks:
- influxdb
environment:
- GF_INSTALL_PLUGINS=grafana-piechart-panel
volumes:
- grafana-storage:/var/lib/grafana
- ${PATH_TO_DISK}/appdata/monitoring/grafana:/etc/grafana/provisioning
restart: unless-stopped
# speedtest:
# image: kjake/internet-speedtest-docker:speedtest
# container_name: speedtest
# depends_on:
# - influxdb
# networks:
# - influxdb
# environment:
# - TEST_INTERVAL=3600
# restart: unless-stopped
volumes:
portainer_data:
# nextcloud_postgres:
# nextcloud:
grafana-storage:
influxdb-storage:
networks:
influxdb: