Skip to content

Commit df7494b

Browse files
committed
fix qbittorrent
1 parent 02fbd25 commit df7494b

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

templates/compose/qbittorrent.yaml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ services:
88
qbit:
99
image: "lscr.io/linuxserver/qbittorrent:latest"
1010
environment:
11-
- WEBUI_PORT=8080
11+
- WEBUI_PORT=${WEBUI_PORT:-8080}
1212
- PUID=1000
1313
- PGID=1000
1414
volumes:
15-
- "data-qbittorrent:/config"
16-
- "data-downloads:/downloads"
17-
- "data-torrents:/torrents"
15+
- qbittorrent-config:/config
16+
- qbittorrent-downloads:/downloads
17+
- qbittorrent-torrents:/torrents
1818
healthcheck:
1919
test:
2020
- CMD
@@ -25,16 +25,17 @@ services:
2525
interval: 5s
2626
timeout: 20s
2727
retries: 10
28+
2829
vuetorrent-backend:
2930
image: "ghcr.io/vuetorrent/vuetorrent-backend:latest"
3031
environment:
3132
- SERVICE_FQDN_QBITORRENT_8080
32-
- PORT=8080
33-
- "QBIT_BASE=http://qbit:8080"
34-
- RELEASE_TYPE=stable
35-
- "UPDATE_VT_CRON=0 * * * *"
33+
- PORT=${WEBUI_PORT:-8080}
34+
- QBIT_BASE=${SERVICE_FQDN_QBITORRENT}
35+
- RELEASE_TYPE=${RELEASE_TYPE:-stable}
36+
- UPDATE_VT_CRON=${UPDATE_VT_CRON:-"0 * * * *"}
3637
volumes:
37-
- "data-config:/config"
38+
- vuetorrent-config:/config
3839
healthcheck:
3940
test:
4041
- CMD

0 commit comments

Comments
 (0)