Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openvpn + monitorrent (docker compose) #403

Open
Leliil opened this issue May 17, 2022 · 0 comments
Open

openvpn + monitorrent (docker compose) #403

Leliil opened this issue May 17, 2022 · 0 comments

Comments

@Leliil
Copy link

Leliil commented May 17, 2022

Tell me, did I do the docker compose correctly?
Or how to correctly send monitorrent traffic through openvpn ?

---
version: "2.4"
services:
  openvpn:
    image: dperson/openvpn-client:latest
    container_name: openvpn
    cap_add:
      - NET_ADMIN
    ports:
      - "6687:6687"
    environment:
      - DNS=192.168.1.1
      - Firewall=true
      - DEFAULT_GATEWAY=false
      - tun=/dev/net/tun
      - TZ=Time/Zone
    network_mode: "bridge"
    volumes:
      - /opt/openvpn-client:/vpn
    restart: always
    privileged: true
    labels:
      autoheal: true

  monitorrent-vpn:
    image: werwolfby/monitorrent
    container_name: monitorrent-vpn
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Time/Zone
    network_mode: "service:openvpn"
    volumes:
      - /opt/monitorrent.db:/var/www/monitorrent/monitorrent.db
      - /opt/lostfilm.py:/var/www/monitorrent/monitorrent/plugins/trackers/lostfilm.py
    restart: always
    labels:
      com.centurylinklabs.watchtower.depends-on: openvpn
      autoheal: true
    depends_on:
      openvpn:
        condition: service_started
@Leliil Leliil changed the title docker compose for another image openvpn + monitorrent (docker compose) May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant