Update comfigs for best practices

This commit is contained in:
2026-04-08 16:06:17 -07:00
parent f7d08333f1
commit 33df798c30
18 changed files with 411 additions and 115 deletions

View File

@@ -1,32 +1,37 @@
services:
pia-qbittorrent:
image: j4ym0/pia-qbittorrent
container_name: pia-qbittorrent
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=1000
- TZ=America/Los_Angeles
- PORT_FORWARDING=true
- PIA_REGION=ca_vancouver
- PIA_USERNAME=p4945400
- PIA_PASSWORD=NmoPFuTDJt
- WEBUI_PORT=8112
- DNS_SERVERS=1.1.1.1,1.0.0.1
- UMASK=000
volumes:
- /mnt/storage/apps/pia-qbittorrent/config:/config
- /mnt/storage/downloads:/downloads
ports:
- "8112:8112"
restart: unless-stopped
networks:
- pia
- proxy
pia-qbittorrent:
image: j4ym0/pia-qbittorrent@sha256:7f87f9e20ee400ea6a06e9ae9edb15b4dc8394c8dae460bd7dc1b9a4ffeed3f2
container_name: pia-qbittorrent
cap_add:
- NET_ADMIN
env_file:
- .env
environment:
- PUID=1000
- PGID=1000
- TZ=America/Los_Angeles
- PORT_FORWARDING=true
- PIA_REGION=ca_vancouver
- WEBUI_PORT=8112
- DNS_SERVERS=1.1.1.1,1.0.0.1
- UMASK=000
volumes:
- /mnt/storage/apps/pia-qbittorrent/config:/config
- /mnt/storage/downloads:/downloads
ports:
- "8112:8112"
restart: unless-stopped
deploy:
resources:
limits:
memory: 1G
cpus: '1.0'
networks:
- pia
- proxy
networks:
pia:
name: pia
proxy:
name: proxy
external: true
pia:
name: pia
proxy:
name: proxy
external: true