chore: update environment variable syntax

This commit is contained in:
lingkai5wu committed 2026-10-16 14:05:17 +08:00
1 parent a43ed29165
commit abbcdb1a02
2 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ services:
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro - /run/dbus:/run/dbus:ro
environment: environment:
- TZ=Asia/Shanghai TZ: Asia/Shanghai
network_mode: host network_mode: host
restart: unless-stopped restart: unless-stopped
deploy: deploy:
+5 -5
View File
@@ -8,11 +8,11 @@ services:
- /srv/data/qbittorrent/downloads:/downloads - /srv/data/qbittorrent/downloads:/downloads
- /srv/fast/qbittorrent:/opt/openlist/data/temp/qBittorrent - /srv/fast/qbittorrent:/opt/openlist/data/temp/qBittorrent
environment: environment:
- PUID=1000 PUID: "1000"
- PGID=1000 PGID: "1000"
- TZ=Asia/Shanghai TZ: Asia/Shanghai
- WEBUI_PORT=8080 WEBUI_PORT: "8080"
- TORRENTING_PORT=6881 TORRENTING_PORT: "6881"
ports: ports:
- "6881:6881/tcp" - "6881:6881/tcp"
- "6881:6881/udp" - "6881:6881/udp"