74 lines
2.0 KiB
YAML
74 lines
2.0 KiB
YAML
|
version: "2.1"
|
||
|
|
||
|
services:
|
||
|
gluetun:
|
||
|
image: qmcgaw/gluetun
|
||
|
container_name: gluetun
|
||
|
cap_add:
|
||
|
- NET_ADMIN
|
||
|
ports:
|
||
|
- 40605:40605 # transmission
|
||
|
- 40605:40605/udp # transmission
|
||
|
- 3000:3000 # chromium
|
||
|
environment:
|
||
|
- VPN_SERVICE_PROVIDER=mullvad
|
||
|
- VPN_TYPE=wireguard
|
||
|
- SERVER_CITIES=Toronto
|
||
|
env_file:
|
||
|
- .env
|
||
|
restart: unless-stopped
|
||
|
networks:
|
||
|
- proxy
|
||
|
|
||
|
transmission:
|
||
|
image: lscr.io/linuxserver/transmission:version-3.00-r8
|
||
|
container_name: transmission
|
||
|
environment:
|
||
|
- PUID=1001
|
||
|
- PGID=1001
|
||
|
- TZ=America/New_York
|
||
|
- PEERPORT=40605
|
||
|
volumes:
|
||
|
- /home/meftimes/docker/gluetun-qbittorrent-chromium/transmission-config:/config
|
||
|
- /home/meftimes/docker/transmission/downloads:/downloads
|
||
|
- /home/meftimes/docker/gluetun-qbittorrent-chromium/watch:/watch
|
||
|
# ports:
|
||
|
# - 9091:9091
|
||
|
# - 40605:40605
|
||
|
# - 40605:40605/udp
|
||
|
labels:
|
||
|
- "traefik.enable=true"
|
||
|
- "traefik.passHostHeader=true"
|
||
|
- "traefik.http.routers.transmission.entrypoints=websecure"
|
||
|
- "traefik.http.routers.transmission.rule=Host(`transmission.meftimes.com`)"
|
||
|
- "traefik.http.routers.transmission.tls.certresolver=letsencrypt"
|
||
|
- "traefik.http.routers.transmission.middlewares=authelia@docker"
|
||
|
- "traefik.http.services.transmission.loadbalancer.server.port=9091"
|
||
|
network_mode: service:gluetun
|
||
|
depends_on:
|
||
|
gluetun:
|
||
|
condition: service_healthy
|
||
|
restart: unless-stopped
|
||
|
|
||
|
chromium:
|
||
|
image: lscr.io/linuxserver/chromium:latest
|
||
|
container_name: chromium
|
||
|
security_opt:
|
||
|
- seccomp:unconfined #optional
|
||
|
environment:
|
||
|
- PUID=1001
|
||
|
- PGID=1001
|
||
|
- TZ=America/New_York
|
||
|
volumes:
|
||
|
- /home/meftimes/docker/gluetun-qbittorrent-chromium/chromium-config:/config
|
||
|
network_mode: service:gluetun
|
||
|
depends_on:
|
||
|
gluetun:
|
||
|
condition: service_healthy
|
||
|
shm_size: "1gb"
|
||
|
restart: unless-stopped
|
||
|
|
||
|
networks:
|
||
|
proxy:
|
||
|
external: true
|