forked from anandslab/docker-traefik
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-mds.yml
executable file
·57 lines (51 loc) · 1.72 KB
/
docker-compose-mds.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
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
# - Media / Database Server (mds) - Proxmox LXC with Ubuntu Server 22.04
# - Prefix/suffix "dns" refers to the above host
# - Docker version 24.0.7, build afdd53b
# - Docker Compose version v2.21.0
########################### NETWORKS
# You may customize the network subnets (192.168.x.0/24) below as you please.
networks:
default:
driver: bridge
dockervlan:
name: dockervlan
driver: macvlan
driver_opts:
parent: eth0 # using ifconfig
ipam:
config:
- subnet: "192.168.1.0/24"
ip_range: "192.168.1.226/32"
gateway: "192.168.1.1"
########################### SECRETS
secrets:
plex_claim:
file: $DOCKERDIR/secrets/plex_claim
mysql_root_password:
file: $DOCKERDIR/secrets/mysql_root_password
include:
########################### SERVICES
# PREFIX mds = Media / Database Server
# HOSTNAME=mds - defined in .env
# MEDIA
- compose/$HOSTNAME/airsonic-advanced.yml
- compose/$HOSTNAME/jellyfin.yml
- compose/$HOSTNAME/plex.yml
- compose/$HOSTNAME/plex-image-cleanup.yml
# - compose/$HOSTNAME/plex-meta-manager.yml
- compose/$HOSTNAME/tautulli.yml
# DATABASES
- compose/$HOSTNAME/prometheus.yml
- compose/$HOSTNAME/mariadb.yml
- compose/$HOSTNAME/influxdb.yml
# MONITORING
- compose/$HOSTNAME/node-exporter.yml