add haugene/openvpn-transmission container

master
meftimes 2023-11-01 20:29:06 -04:00
parent 204c3689fc
commit 44f8ee2628
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,2 @@
OPENVPN_USERNAME=username_goes_here
OPENVPN_PASSWORD=password_goes_here

View File

@ -0,0 +1,36 @@
version: '3.3'
services:
transmission-openvpn:
image: haugene/transmission-openvpn
container_name: openvpn-transmission
environment:
- OPENVPN_PROVIDER=MULLVAD
- OPENVPN_CONFIG=ca_tor
#- LOCAL_NETWORK=192.168.0.0/16
env_file:
- .env
sysctls:
- "net.ipv6.conf.all.disable_ipv6=0"
cap_add:
- NET_ADMIN
volumes:
- '/home/meftimes/docker/openvpn-transmission/data:/data'
- '/home/meftimes/docker/openvpn-transmission/config:/config'
labels:
- "traefik.enable=true"
- "traefik.http.routers.openvpn-transmission.entrypoints=websecure"
- "traefik.http.routers.openvpn-transmission.rule=Host(`transmission2.meftimes.com`)"
- "traefik.http.routers.openvpn-transmission.tls.certresolver=letsencrypt"
- "traefik.http.routers.openvpn-transmission.middlewares=authelia@docker"
- "traefik.http.services.openvpn-transmission.loadbalancer.server.port=9091"
networks:
- proxy
logging:
driver: json-file
options:
max-size: 10m
networks:
proxy:
external: true