mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2026-07-26 12:58:10 +02:00
40 lines
815 B
YAML
40 lines
815 B
YAML
services:
|
|
# qBittorrent
|
|
qbittorrent:
|
|
image: lscr.io/linuxserver/qbittorrent:latest
|
|
container_name: qbittorrent
|
|
profiles:
|
|
- qbittorrent
|
|
restart: on-failure:7
|
|
depends_on:
|
|
- caddy
|
|
env_file:
|
|
- ./env/qbittorrent.env
|
|
environment:
|
|
- PUID=${PUID:-1000}
|
|
- PGID=${PGID:-1000}
|
|
- TZ=${TZ:-Europe/Paris}
|
|
ports:
|
|
- 6881:6881
|
|
- 6881:6881/udp
|
|
volumes:
|
|
- qbittorrent_config:/config
|
|
- public_data:/downloads
|
|
- private_data:/private_downloads
|
|
networks:
|
|
- caddy-media
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
|
|
volumes:
|
|
qbittorrent_config:
|
|
name: qbittorrent_config
|
|
public_data:
|
|
name: public_data
|
|
private_data:
|
|
name: private_data
|
|
|
|
networks:
|
|
caddy-media:
|
|
driver: bridge
|
|
name: caddy-media |