From 9f5c680f22c6ccf6a9284f0cd0f0c088375ec746 Mon Sep 17 00:00:00 2001 From: Jake Runyan Date: Wed, 7 Aug 2024 18:22:09 -0700 Subject: [PATCH] don't need version number in docker anymore. who knew --- monolith/README.md | 14 +++++++++++++ monolith/docker-compose.yml | 39 +++++++++++++++++++++++++++++++++++-- 2 files changed, 51 insertions(+), 2 deletions(-) diff --git a/monolith/README.md b/monolith/README.md index 5d51a2e..1512a23 100644 --- a/monolith/README.md +++ b/monolith/README.md @@ -69,3 +69,17 @@ https://grafana.com/docs/grafana/latest/setup-grafana/installation/docker/ ##### Build Test build with `docker compose build homepage`. + +### NordVPN + +#### Instructions + +##### Files +Create `nordvpn/token.txt` with NordVPN token which is generated from NordVPN website. + +##### Notes +Can use either nordlynx or nordvpn in nordlynx configuration. + +#### References +https://github.com/bubuntux/nordvpn +https://github.com/bubuntux/nordlynx diff --git a/monolith/docker-compose.yml b/monolith/docker-compose.yml index 976728d..63d770b 100644 --- a/monolith/docker-compose.yml +++ b/monolith/docker-compose.yml @@ -1,5 +1,3 @@ -version: "3" - networks: traefik: driver: bridge @@ -123,3 +121,40 @@ services: - traefik.http.routers.homepage.tls=true - traefik.http.routers.homepage.tls.certresolver=lets-encrypt - traefik.http.services.homepage.loadbalancer.server.port=81 + + nordlynx: + image: ghcr.io/bubuntux/nordlynx + container_name: nordlynx + restart: unless-stopped + network_mode: bridge + cap_add: + - NET_ADMIN + - NET_RAW + environment: + - PRIVATE_KEY=mDnVa4EMbnlSF8Sg/i657hf+NRyWQxQjKTwkImD/HWE= + - NET_LOCAL=192.168.1.0/24 + - TZ=America/Los_Angeles + - QUERY=filters\[country_id\]=202 + ports: + - "8888:8888" + - 6881:6881 + - 6881:6881/udp + labels: + - traefik.enable=false + + qb: + image: ghcr.io/linuxserver/qbittorrent:latest + container_name: qb + restart: unless-stopped + depends_on: + - nordlynx + network_mode: service:nordlynx + environment: + - PUID=1001 + - PGID=1001 + - WEBUI_PORT=8888 + volumes: + - /data/write/qb/appdata/config:/config + - /data/write/qb/downloads:/downloads + labels: + - traefik.enable=false