docker/gluetun-transmission-chromi.../gluetun-transmission-chromi...

68 lines
1.8 KiB
YAML

version: "2.1"
services:
gluetun:
image: qmcgaw/gluetun
container_name: gluetun
cap_add:
- NET_ADMIN
ports:
- 3000:3000 # chromium
environment:
- VPN_SERVICE_PROVIDER=custom
- VPN_TYPE=wireguard
- VPN_PORT_FORWARDING=on
- VPN_PORT_FORWARDING_PROVIDER=protonvpn
env_file:
- .env
restart: unless-stopped
networks:
- proxy
transmission:
image: linuxserver/transmission:version-3.00-r8
container_name: transmission
environment:
- PUID=1001
- PGID=1001
- TZ=America/New_York
volumes:
- /media/transmission/config:/config
- /media/transmission/downloads:/downloads
- /media/transmission/watch:/watch
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: linuxserver/chromium
container_name: chromium
security_opt:
- seccomp:unconfined #optional
environment:
- PUID=1001
- PGID=1001
- TZ=America/New_York
volumes:
- /home/meftimes/docker/gluetun-transmission-chromium/chromium-config:/config
network_mode: service:gluetun
depends_on:
gluetun:
condition: service_healthy
shm_size: "1gb"
restart: unless-stopped
networks:
proxy:
external: true