From 36a0134954966c8ee027e31082e0eabbc318a09f Mon Sep 17 00:00:00 2001 From: soxfor <7237915+soxfor@users.noreply.github.com> Date: Sat, 18 Mar 2023 01:29:14 +0000 Subject: [PATCH] add: docker-compose sample --- docker-compose.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..3d0ca59 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,19 @@ +services: + app: + image: ghcr.io/soxfor/qbittorrent-natmap:latest + container_name: qbittorrent-natmap + restart: unless-stopped + volumes: + - /var/run/docker.sock:/var/run/docker.sock + environment: + - TZ=Etc/UTC + - QBITTORRENT_SERVER='ip.a.dd.r' + # - QBITTORRENT_PORT='' # Defaults to 8080 + # - QBITTORRENT_USER='' # Defaults to admin + # - QBITTORRENT_PASS='' # Defaults to adminadmin + # - VPN_CT_NAME='' # Defaults to gluetun + - VPN_GATEWAY='ip.a.dd.r' + # - VPN_IF_NAME='' # Defaults to tun0 + # - CHECK_INTERVAL='' # Defaults to 300sec + # - NAT_LEASE_LIFETIME='' # Defaults to 300sec + network_mode: "container:gluetun" # Specify the VPN container name here