-
-
Notifications
You must be signed in to change notification settings - Fork 630
/
docker-compose-ds918.yml
executable file
·89 lines (82 loc) · 2.52 KB
/
docker-compose-ds918.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
version: "3.9"
########################### ANAND'S ENVIRONMENT
# Here are my 5 Docker Hosts:
# - Home Server (hs) - Proxmox LXC with Ubuntu Server 22.04
# - Media / Database Server (mds) - Proxmox LXC with Ubuntu Server 22.04
# - Web Server (ws) - Digital Ocean VPS with Ubuntu Server 22.04
# - Synology (ds918) - Synology DS918+
# - DNS / AdBlock Server (dns) - Raspberry Pi 4B with Raspberry Pi OS
########################### THIS COMPOSE FILE
# - Synology (ds918) - Synology DS918+
# - Prefix/suffix "ds918" refers to the above host
# - Docker version 20.10.23, build 876964a
# - Docker Compose version v2.23.3
########################### NETWORKS
# You may customize the network subnets (192.168.x.0/24) below as you please.
networks:
default:
driver: bridge
socket_proxy:
name: socket_proxy
driver: bridge
ipam:
config:
- subnet: 192.168.91.0/24
t2_proxy:
name: t2_proxy
driver: bridge
ipam:
config:
- subnet: 192.168.90.0/24
dockervlan:
name: dockervlan
driver: macvlan
driver_opts:
parent: eth1 # using ifconfig
ipam:
config:
- subnet: "192.168.1.0/24"
ip_range: "192.168.1.25/32"
gateway: "192.168.1.1"
########################### SECRETS
secrets:
basic_auth_credentials:
file: $DOCKERDIR/secrets/basic_auth_credentials
cf_dns_api_token:
file: $DOCKERDIR/secrets/cf_dns_api_token
traefik_forward_auth:
file: $DOCKERDIR/secrets/traefik_forward_auth
mysql_root_password:
file: $DOCKERDIR/secrets/mysql_root_password
plex_claim:
file: $DOCKERDIR/secrets/plex_claim
# Docker Compose v2.20 or greater required to use "include"
include:
########################### SERVICES
# PREFIX ds918 = Synology DS918+ NAS
# HOSTNAME=ds918 - defined in .env
# CORE
- compose/$HOSTNAME/traefik.yml
- compose/$HOSTNAME/socket-proxy.yml
- compose/$HOSTNAME/oauth.yml
- compose/$HOSTNAME/portainer.yml
# NETWORK
- compose/$HOSTNAME/zerotier.yml
# - compose/$HOSTNAME/adguardhome.yml
# MEDIA
- compose/$HOSTNAME/plex.yml
- compose/$HOSTNAME/plex-sync.yml
- compose/$HOSTNAME/tdarr.yml
# FILE MANAGEMENT
# - compose/$HOSTNAME/rclone-gdrive.yml
# - compose/$HOSTNAME/rclone-gcrypt.yml
# - compose/$HOSTNAME/mergerfs.yml
- compose/$HOSTNAME/syncthing.yml
- compose/$HOSTNAME/vscode.yml
# MONITORING
- compose/$HOSTNAME/glances.yml
# - compose/$HOSTNAME/qdirstat.yml
# MAINTENANCE
- compose/$HOSTNAME/docker-gc.yml
- compose/$HOSTNAME/ddns-updater.yml
# - compose/$HOSTNAME/certdumper.yml