-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
212 lines (194 loc) · 5.92 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
########################### SYSTEM DESCRIPTION
# DOCKER-COMPOSE FOR SYNOLOGY DS920+
# 20 GB RAM, DSM 7.X
# 1x18TB
########################### NETWORKS
# There is no need to create any networks outside this docker-compose file.
# You may customize the network subnets (192.168.90.0/24 and 91.0/24) below as you please.
# Docker Compose version 3.5 or higher required to define networks this way.
########################### USEFUL COMMANDS
# - To run the docker-compose file
# sudo COMPOSE_HTTP_TIMEOUT=200 docker-compose -f /volume2/docker/docker-compose-t2.yml up -d
# - To see the logs of a process
# sudo docker logs -tf --tail="50" <process-name>
# - Run plextraktsync for the first time in docker-compose-t2.yml
# sudo COMPOSE_HTTP_TIMEOUT=200 docker-compose -f docker-compose-t2.yml run --rm plextraktsync
# - If wg-easy cannot start, then stop the Wireguard app package in Package Center (Synology),
# start the container and then start the app.
# - To execute new app to start in nextcloud (where 26.......b1 is the id of the Nextcloud container)
# sudo docker exec -it -u 1026 26097adc23b1 php /app/www/public/occ app:enable name_of_the_app
########################### WEBSITE TUTORIAL SMARTHOMEBEGINNER
# https://www.smarthomebeginner.com/traefik-docker-compose-guide-2022/
networks:
traefik_network:
name: traefik_network
driver: bridge
ipam:
config:
- subnet: 192.168.90.0/24
default:
driver: bridge
socket_proxy:
name: socket_proxy
driver: bridge
ipam:
config:
- subnet: 192.168.91.0/24
nextcloud:
name: nextcloud
driver: bridge
ipam:
config:
- subnet: 192.168.92.0/24
wg-easy:
name: wg-easy
driver: bridge
ipam:
config:
- subnet: 192.168.93.0/24
llm:
name: llm
driver: bridge
ipam:
config:
- subnet: 192.168.95.0/24
photoprism:
name: photoprism
driver: bridge
ipam:
config:
- subnet: 192.168.96.0/24
filebrowser:
name: filebrowser
driver: bridge
ipam:
config:
- subnet: 192.168.97.0/24
telegram_bots:
name: telegram_bots
driver: bridge
ipam:
config:
- subnet: 192.168.98.0/24
redis:
name: redis
driver: bridge
ipam:
config:
- subnet: 192.168.99.0/24
########################### SECRETS
secrets:
htpasswd:
file: $DOCKERDIR/secrets/htpasswd
cloudflare_email:
file: $DOCKERDIR/secrets/cloudflare_email
cloudflare_api_key:
file: $DOCKERDIR/secrets/cloudflare_api_key
cloudflare_api_token:
file: $DOCKERDIR/secrets/cloudflare_api_token
cf_email:
file: $DOCKERDIR/secrets/cf_email
cf_token:
file: $DOCKERDIR/secrets/cf_token
oauth_secret:
file: $DOCKERDIR/secrets/oauth_secret
authelia_identity_validation_reset_password_jwt_secret_file:
file: $DOCKERDIR/secrets/authelia_identity_validation_reset_password_jwt_secret_file
authelia_session_secret:
file: $DOCKERDIR/secrets/authelia_session_secret
authelia_storage_mysql_password:
file: $DOCKERDIR/secrets/authelia_storage_mysql_password
authelia_notifier_smtp_password:
file: $DOCKERDIR/secrets/authelia_notifier_smtp_password
authelia_duo_api_secret_key:
file: $DOCKERDIR/secrets/authelia_duo_api_secret_key
authelia_storage_encryption_key:
file: $DOCKERDIR/secrets/authelia_storage_encryption_key
authelia_session_redis_password:
file: $DOCKERDIR/secrets/authelia_session_redis_password
mysql_root_password:
file: $DOCKERDIR/secrets/mysql_root_password
db_password:
file: $DOCKERDIR/secrets/db_password
db_root_password:
file: $DOCKERDIR/secrets/db_root_password
guac_db_name:
file: $DOCKERDIR/secrets/guac_db_name
guac_mysql_user:
file: $DOCKERDIR/secrets/guac_mysql_user
guac_mysql_password:
file: $DOCKERDIR/secrets/guac_mysql_password
# google_client_secret:
# file: $DOCKERDIR/secrets/google_client_secret
# google_client_id:
# file: $DOCKERDIR/secrets/google_client_id
# my_email:
# file: $DOCKERDIR/secrets/my_email
plex_claim:
file: $DOCKERDIR/secrets/plex_claim
postgres_user:
file: $DOCKERDIR/secrets/postgres_user
postgres_password:
file: $DOCKERDIR/secrets/postgres_password
postgres_db:
file: $DOCKERDIR/secrets/postgres_db
include:
# CORE SERVICES
- compose/traefik.yml
- compose/socket-proxy.yml
- compose/authelia.yml
- compose/portainer.yml
# MONITORING & LOGGING
- compose/dozzle.yml
- compose/glances.yml
- compose/qdirstat.yml
# REMOTE ACCESS & SECURITY
- compose/guacamole.yml
- compose/guacd.yml
- compose/code-server.yml
- compose/wg-easy.yml
# DATA & FILE MANAGEMENT
- compose/vaultwarden.yml
- compose/nextcloud.yml
- compose/redis.yml
- compose/rediscommander.yml
- compose/filebrowser.yml
- compose/photoprism.yml
- compose/qdrant.yml
- compose/mariadb.yml
- compose/phpmyadmin.yml
# MEDIA SERVERS
- compose/plexms.yml
- compose/plextraktsync.yml
- compose/tautulli.yml
- compose/overseerr.yml
# MEDIA DOWNLOADERS
- compose/transmission-vpn.yml
- compose/nzbget.yml
- compose/sabnzbd.yml
# MEDIA INDEXERS
- compose/radarr.yml
- compose/sonarr.yml
- compose/readarr.yml
- compose/lidarr.yml
- compose/bazarr.yml
- compose/prowlarr.yml
- compose/flaresolverr.yml
# MEDIA UTILITIES
- compose/notifiarr.yml
# MEDIA CONVERSION TOOLS
- compose/tdarr.yml
- compose/tdarr-node1.yml
- compose/makemkv.yml
- compose/mkvtoolnix.yml
- compose/handbrake.yml
# SYSTEM MAINTENANCE
- compose/watchtower.yml
- compose/ofelia.yml
- compose/dockergc.yml
- compose/cf-companion.yml
# AI & MACHINE LEARNING
- compose/anything-llm.yml
# DASHBOARD
- compose/homarr.yml
- compose/stirling-pdf.yml