-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.simple.yml
53 lines (50 loc) · 1.57 KB
/
docker-compose.simple.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
services:
qbit:
image: lscr.io/linuxserver/qbittorrent:latest
container_name: qbit
restart: unless-stopped
networks:
- qbit-net
environment:
- WEBUI_PORT=8080
- PUID=1000
- PGID=1000
ports:
# qBittorrent WebUI is exposed by vuetorrent-backend service
# - "8080:8080"
# qBittorrent ports, NAT port forwarding required for them to work
- "6881:6881"
- "6881:6881/udp"
volumes:
- "./data/qbittorrent:/config"
- "./data/downloads:/downloads"
- "./data/torrents:/torrents"
vuetorrent-backend:
# build: .
image: ghcr.io/vuetorrent/vuetorrent-backend:latest
container_name: vuetorrent-backend
restart: unless-stopped
networks:
- qbit-net
environment:
# Backend port needs to match qbit one to avoid "Host header validation" issues
- PORT=8080
- QBIT_BASE=http://qbit:8080
# Use "dev" for nightly releases
- RELEASE_TYPE=stable
# Optional, refer to the node-schedule package for compatible syntax
- UPDATE_VT_CRON=0 * * * *
# Only enable if using self-signed certificates
# - USE_INSECURE_SSL=true
# Only enable if backend container is behind a proxy server which already add x-forward headers
# - SKIP_X_FORWARD_HEADERS=true
ports:
- "8080:8080"
volumes:
- "./data/config:/config"
# This network is only there for the example,
# if you already have an external network (e.g. for use with a reverse proxy),
# you can use the existing one instead.
networks:
qbit-net:
driver: bridge