2
0
Fork 0

add: docker-compose sample

This commit is contained in:
soxfor 2023-03-18 01:29:14 +00:00
parent d8d06786b8
commit 36a0134954
1 changed files with 19 additions and 0 deletions

19
docker-compose.yml Normal file
View File

@ -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