SetupForDad/docker-compose.yml

200 lines
4.1 KiB
YAML
Raw Normal View History

2023-07-15 12:54:08 +01:00
version: "2.1"
2026-02-03 17:02:18 +00:00
2023-07-15 12:54:08 +01:00
services:
2026-02-03 17:02:18 +00:00
gluetun:
image: qmcgaw/gluetun
container_name: gluetun
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun:/dev/net/tun
2023-07-15 13:16:47 +01:00
ports:
2026-02-03 17:02:18 +00:00
- 18000:8000/tcp
- 18888:8888/tcp
- 18388:8388/tcp
- 18388:8388/udp
2023-07-15 13:16:47 +01:00
volumes:
2026-02-03 17:02:18 +00:00
- /mnt/setupfordad/gluetun/config:/gluetun
environment:
- VPN_SERVICE_PROVIDER=nordvpn
- OPENVPN_USER=
- OPENVPN_PASSWORD=
- SERVER_COUNTRIES=Netherlands
- HTTPPROXY=on
- HTTP_CONTROL_SERVER_LOG=on
deploy:
resources:
limits:
cpus: "0.50"
memory: 256M
2023-07-15 14:01:52 +01:00
restart: unless-stopped
2026-02-03 17:02:18 +00:00
pihole:
container_name: pihole
image: pihole/pihole:latest
depends_on:
- gluetun
command: sh -c "sleep 10 && /s6-init"
ports:
- "53:53/tcp"
- "53:53/udp"
- "7806:80/tcp"
environment:
TZ: 'Europe/London'
volumes:
- '/mnt/setupfordad/pihole/config/phole:/etc/pihole'
- '/mnt/setupfordad/pihole/config/dnsmsq:/etc/dnsmasq.d'
deploy:
resources:
limits:
cpus: "0.30"
memory: 256M
restart: unless-stopped
prowlarr:
image: lscr.io/linuxserver/prowlarr:latest
container_name: prowlarr
depends_on:
- gluetun
command: sh -c "sleep 20 && /init"
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
volumes:
- /mnt/setupfordad/prowlarr/config:/config
ports:
- 7804:9696
deploy:
resources:
limits:
cpus: "0.30"
memory: 256M
restart: unless-stopped
2023-07-15 12:54:08 +01:00
sonarr:
image: lscr.io/linuxserver/sonarr:latest
container_name: sonarr
2026-02-03 17:02:18 +00:00
depends_on:
- prowlarr
command: sh -c "sleep 30 && /init"
2023-07-15 12:54:08 +01:00
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
volumes:
- /mnt/setupfordad/sonarr/config:/config
2023-07-15 12:54:08 +01:00
ports:
2023-07-15 13:16:47 +01:00
- 7801:8989
2026-02-03 17:02:18 +00:00
deploy:
resources:
limits:
cpus: "0.50"
memory: 512M
2023-07-15 12:54:08 +01:00
restart: unless-stopped
2026-02-03 17:02:18 +00:00
2023-07-15 12:54:08 +01:00
radarr:
image: lscr.io/linuxserver/radarr:latest
container_name: radarr
2026-02-03 17:02:18 +00:00
depends_on:
- prowlarr
command: sh -c "sleep 30 && /init"
2023-07-15 12:54:08 +01:00
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
volumes:
- /mnt/setupfordad/radarr/config:/config
2023-07-15 12:54:08 +01:00
ports:
2023-07-15 13:16:47 +01:00
- 7802:7878
2026-02-03 17:02:18 +00:00
deploy:
resources:
limits:
cpus: "0.50"
memory: 512M
2023-07-15 14:01:52 +01:00
restart: unless-stopped
2026-02-03 17:02:18 +00:00
2023-07-15 13:16:47 +01:00
bazarr:
image: lscr.io/linuxserver/bazarr:latest
container_name: bazarr
2026-02-03 17:02:18 +00:00
depends_on:
- sonarr
- radarr
command: sh -c "sleep 45 && /init"
2023-07-15 13:16:47 +01:00
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
volumes:
- /mnt/setupfordad/bazarr/config:/config
2023-07-15 13:16:47 +01:00
ports:
- 7805:6767
2026-02-03 17:02:18 +00:00
deploy:
resources:
limits:
cpus: "0.30"
memory: 256M
2023-07-15 14:01:52 +01:00
restart: unless-stopped
2026-02-03 17:02:18 +00:00
rdtclient:
container_name: rdtclient
image: rogerfar/rdtclient
depends_on:
- gluetun
command: sh -c "sleep 40 && /entrypoint.sh"
2023-07-15 13:16:47 +01:00
environment:
2026-02-03 17:02:18 +00:00
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
volumes:
- /mnt/setupfordad/rdtclient/config:/data/db
ports:
- '7803:6500'
deploy:
resources:
limits:
cpus: "0.30"
memory: 256M
logging:
driver: json-file
options:
max-size: 10m
2023-07-15 14:01:52 +01:00
restart: unless-stopped
2026-02-03 17:02:18 +00:00
homepage:
image: ghcr.io/benphelps/homepage:latest
container_name: homepage
depends_on:
- sonarr
- radarr
- prowlarr
- pihole
command: sh -c "sleep 60 && npm start"
2023-07-15 14:01:52 +01:00
ports:
2026-02-03 17:02:18 +00:00
- 7800:3000
2023-07-15 14:01:52 +01:00
volumes:
2026-02-03 17:02:18 +00:00
- /mnt/setupfordad/homepage/config:/app/config
deploy:
resources:
limits:
cpus: "0.20"
memory: 128M
2023-07-15 14:12:36 +01:00
restart: unless-stopped
2026-02-03 18:17:51 +00:00
samba:
image: mekayelanik/samba-server-alpine
container_name: samba-server
ports:
- "139:139"
- "445:445"
environment:
USERNAME: mike
PASSWORD: chelsea
SHARE_NAME: media
SHARE_PATH: /mount
GUEST_OK: "yes"
READ_ONLY: "no"
volumes:
- /mnt/media:/mount
restart: unless-stopped