36 lines
No EOL
906 B
YAML
36 lines
No EOL
906 B
YAML
---
|
|
services:
|
|
array-qbittorrent:
|
|
image: lscr.io/linuxserver/qbittorrent:latest
|
|
network_mode: "service:array-gluetun"
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=Europe/Berlin
|
|
volumes:
|
|
- qbittorrent-config:/config
|
|
- qbittorrent-data:/data
|
|
depends_on:
|
|
array-gluetun:
|
|
condition: service_healthy
|
|
|
|
array-gluetun:
|
|
image: qmcgaw/gluetun
|
|
# line above must be uncommented to allow external containers to connect.
|
|
# See https://github.com/qdm12/gluetun-wiki/blob/main/setup/connect-a-container-to-gluetun.md#external-container-to-gluetun
|
|
cap_add:
|
|
- NET_ADMIN
|
|
devices:
|
|
- /dev/net/tun:/dev/net/tun
|
|
ports:
|
|
- 8888:8888/tcp # HTTP proxy
|
|
- 8388:8388/tcp # Shadowsocks
|
|
- 8388:8388/udp # Shadowsocks
|
|
volumes:
|
|
- gluetun:/gluetun
|
|
networks:
|
|
- array
|
|
|
|
networks:
|
|
array:
|
|
external: true |