infrastructure/docker-compose.qbittorrent.yml
Bensuperpc b101480a01
Improve restart en failure
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2024-05-12 12:00:12 +02:00

27 lines
547 B
YAML

version: '3.9'
services:
# qBittorrent
qbittorrent:
image: lscr.io/linuxserver/qbittorrent:latest
container_name: qbittorrent
profiles:
- qbittorrent
restart: on-failure:5
depends_on:
- caddy
env_file:
- env/qbittorrent.env
volumes:
- qbittorrent_config:/config
- qbittorrent_data:/downloads
networks:
- infra-network
security_opt:
- no-new-privileges:true
volumes:
qbittorrent_config:
name: qbittorrent_config
qbittorrent_data:
name: qbittorrent_data