Created
April 24, 2016 10:55
-
-
Save Mirabis/fc7cd79adab6622cae46b8eff10f310a to your computer and use it in GitHub Desktop.
Docker-Compose Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "2" | |
services: | |
openvpn: | |
image: dperson/openvpn-client:latest | |
command: -f | |
restart: always | |
dns: 10.0.0.2 | |
cap_add: | |
- NET_ADMIN | |
devices: | |
- dev/net/tun | |
volumes: | |
- /etc/localtime:/etc/localtime:ro | |
- /opt/conf/openvpn:/vpn | |
env_file: ./envs/openvpn.env | |
ports: | |
- "6789:6789" | |
- "5075:5075" | |
- "8989:8989" | |
- "5050:5050" | |
logging: | |
driver: splunk | |
options: | |
splunk-token: "XXXXXXXXXXXXX" | |
splunk-url: "https://10.0.0.189:8088" | |
splunk-insecureskipverify: "true" | |
tag: "{{.ImageName}}/{{.Name}}/{{.ID}}" | |
labels: "DownloadServer" | |
ffmpeg: | |
image: mirabis/mp4automator:latest | |
cpu_quota: "75000" | |
restart: always | |
volumes: | |
- /opt/conf/mp4automator:/config | |
logging: | |
driver: splunk | |
options: | |
splunk-token: "XXXXXXXXXXXX" | |
splunk-url: "https://10.0.0.189:8088" | |
splunk-insecureskipverify: "true" | |
tag: "{{.ImageName}}/{{.Name}}/{{.ID}}" | |
labels: "DownloadServer" | |
nzbget: | |
image: linuxserver/nzbget:latest | |
network_mode: service:openvpn | |
restart: always | |
depends_on: | |
- openvpn | |
- ffmpeg | |
volumes_from: | |
- ffmpeg | |
volumes: | |
- /opt/conf/nzbget:/config | |
- /opt/conf/nzbget/scripts:/config/scripts | |
- /etc/localtime:/etc/localtime:ro | |
- /opt/data/downloads:/downloads | |
- /tmp/nzbget:/downloads/tmp | |
- /mnt/persei-01:/mnt/persei-01 | |
env_file: ./envs/linuxserver.env | |
logging: | |
driver: splunk | |
options: | |
splunk-token: "XXXXXXXXXXXXX" | |
splunk-url: "https://10.0.0.189:8088" | |
splunk-insecureskipverify: "true" | |
tag: "{{.ImageName}}/{{.Name}}/{{.ID}}" | |
labels: "DownloadServer" | |
# ports: | |
# - "6789" | |
nzbhydra: | |
image: linuxserver/hydra:latest | |
network_mode: service:openvpn | |
restart: always | |
depends_on: | |
- openvpn | |
volumes: | |
- /etc/localtime:/etc/localtime:ro | |
- /opt/conf/nzbhydra:/config | |
env_file: ./envs/linuxserver.env | |
logging: | |
driver: splunk | |
options: | |
splunk-token: "XXXXXXXXXXXXXX" | |
splunk-url: "https://10.0.0.189:8088" | |
splunk-insecureskipverify: "true" | |
tag: "{{.ImageName}}/{{.Name}}/{{.ID}}" | |
labels: "DownloadServer" | |
# ports: | |
# - 5075:5075 | |
sonarr: | |
image: linuxserver/sonarr:latest | |
network_mode: service:openvpn | |
restart: always | |
depends_on: | |
- nzbhydra | |
- nzbget | |
volumes: | |
- /dev/rtc:/dev/rtc:ro | |
- /etc/localtime:/etc/localtime:ro | |
- /opt/conf/sonarr:/config | |
- /opt/data/downloads/tv:/downloads | |
- /mnt/persei-04:/mnt/persei-04 | |
- /mnt/persei-06:/tv | |
env_file: ./envs/linuxserver.env | |
logging: | |
driver: splunk | |
options: | |
splunk-token: "XXXXXXXX" | |
splunk-url: "https://10.0.0.189:8088" | |
splunk-insecureskipverify: "true" | |
tag: "{{.ImageName}}/{{.Name}}/{{.ID}}" | |
labels: "DownloadServer" | |
# ports: | |
# - 8989:8989 | |
couchpotato: | |
image: linuxserver/couchpotato:latest | |
network_mode: service:openvpn | |
restart: always | |
depends_on: | |
- nzbhydra | |
- nzbget | |
volumes: | |
- /etc/localtime:/etc/localtime:ro | |
- /opt/conf/couchpotato:/config | |
- /opt/data/downloads/movies:/downloads | |
## Mount Series | |
- /mnt/persei-01e:/mnt/persei-01e | |
- /mnt/persei-01:/movies | |
env_file: ./envs/linuxserver.env | |
# ports: | |
# - 5050:5050 | |
logging: | |
driver: splunk | |
options: | |
splunk-token: "XXXXXXXXXXXXX" | |
splunk-url: "https://10.0.0.189:8088" | |
splunk-insecureskipverify: "true" | |
tag: "{{.ImageName}}/{{.Name}}/{{.ID}}" | |
labels: "DownloadServer" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The PGID and PUID values set the user / group you'd like your container to 'run as' to the host OS. | |
# This can be a user you've created or even root (not recommended). | |
PGID=0 | |
PUID=0 | |
# If you wish to use unstable testing branch of nzbget, add -e TESTING=1 to your run command or template settings. | |
#TESTING=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use the VPN provider's DNS resolvers | |
#DNS= | |
# setup a VPN connection | |
VPN=nl.privateinternetaccess.com;XXXXXXXXXXX;XXXXXXXXXXXXX | |
# set a zoneinfo timezone | |
#TZ= | |
# add a route to allow replies to your private network | |
ROUTE=10.0.0.0/24 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment