Skip to content

Instantly share code, notes, and snippets.

@PHLAK
Created July 25, 2017 22:27
Show Gist options
  • Save PHLAK/7f39d560c8caa0b834e86b988df4aa3e to your computer and use it in GitHub Desktop.
Save PHLAK/7f39d560c8caa0b834e86b988df4aa3e to your computer and use it in GitHub Desktop.
Docker compose file for transmission-daemon + OpenVPN
version: '2'
services:
transmission-vpn:
container_name: transmission-vpn
image: phlak/openvpn
ports:
- '9091:9091'
- '6771:6771'
volumes:
- openvpn-config:/vol/config
privileged: true
restart: always
transmission-daemon:
container_name: transmission-daemon
image: phlak/transmission
depends_on:
- transmission-vpn
environment:
- TZ=America/Phoenix
network_mode: service:transmission-vpn
volumes:
- transmission-config:/etc/transmission-daemon
- /storage/torrents:/srv/downloads
volumes:
openvpn-config: {}
transmission-config: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment