infra/roles/scurvy/templates/docker-compose.yml.j2

62 lines
1.4 KiB
Plaintext
Raw Normal View History

2024-01-10 02:22:27 -05:00
version: '3'
services:
gluetun:
image: qmcgaw/gluetun
container_name: gluetun
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun:/dev/net/tun
ports:
- 127.0.0.1:9000:8080/tcp
- 127.0.0.1:6881:6881
- 127.0.0.1:6881:6881/udp
volumes:
- /gluetun
environment:
- VPN_SERVICE_PROVIDER=mullvad
- VPN_TYPE=openvpn
- OPENVPN_USER={{ openvpn_user }}
2024-04-27 23:41:11 -04:00
- SERVER_CITIES=Seattle WA
2024-01-10 02:22:27 -05:00
qbittorrent:
image: hotio/qbittorrent:latest
container_name: qbittorrent
environment:
- PUID=1000
- PGID=1000
volumes:
- qbittorrent_config:/config:rw
- type: bind
source: /mnt/hdd-01
target: /hdd-01
- type: bind
source: /mnt/ssd-01
target: /ssd-01
restart: unless-stopped
network_mode: "container:gluetun"
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
environment:
- JELLYFIN_PublishedServerUrl=https://jellyfin.internal.simponic.xyz
ports:
- 127.0.0.1:8096:8096
devices:
- /dev/dri:/dev/dri
volumes:
- type: bind
source: /mnt/hdd-01
target: /hdd-01
- type: bind
source: /mnt/ssd-01
target: /ssd-01
- jellyfin_config:/config:rw
- jellyfin_cache:/cache:rw
volumes:
jellyfin_config:
jellyfin_cache:
qbittorrent_config: