add haugene/openvpn-transmission container
parent
204c3689fc
commit
44f8ee2628
|
@ -0,0 +1,2 @@
|
|||
OPENVPN_USERNAME=username_goes_here
|
||||
OPENVPN_PASSWORD=password_goes_here
|
|
@ -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
|
Loading…
Reference in New Issue