2024-07-17 16:30:13 +08:00
|
|
|
networks:
|
|
|
|
1panel-network:
|
|
|
|
external: true
|
|
|
|
|
|
|
|
services:
|
|
|
|
qbittorrent:
|
2024-08-21 01:50:21 +08:00
|
|
|
image: linuxserver/qbittorrent:4.6.6
|
2024-07-17 16:30:13 +08:00
|
|
|
container_name: ${CONTAINER_NAME}
|
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
|
|
|
restart: always
|
|
|
|
network_mode: ${NETWORK_MODE}
|
|
|
|
ports:
|
|
|
|
- ${PANEL_APP_PORT_HTTP}
|
|
|
|
- ${PANEL_APP_PORT_TORRENTING}
|
|
|
|
- ${PANEL_APP_PORT_TORRENTING}/udp
|
|
|
|
env_file:
|
|
|
|
- /etc/1panel/envs/global.env
|
|
|
|
volumes:
|
|
|
|
- ${QBITTORRENT_ROOT_PATH}/config:/config
|
|
|
|
- ${QBITTORRENT_ROOT_PATH}/downloads:/downloads
|
|
|
|
- ${CUSTOM_MOUNT_DIRECTORY_1:-./default_mount_1}:${CUSTOM_MOUNT_DIRECTORY_1:-/default_mount_1}
|
|
|
|
- ${CUSTOM_MOUNT_DIRECTORY_2:-./default_mount_2}:${CUSTOM_MOUNT_DIRECTORY_2:-/default_mount_2}
|
|
|
|
- ${CUSTOM_MOUNT_DIRECTORY_3:-./default_mount_3}:${CUSTOM_MOUNT_DIRECTORY_3:-/default_mount_3}
|
|
|
|
environment:
|
|
|
|
- PUID=0
|
|
|
|
- PGID=0
|
|
|
|
- UMASK=022
|
|
|
|
- WEBUI_PORT=${PANEL_APP_PORT_HTTP}
|
|
|
|
- TORRENTING_PORT=${PANEL_APP_PORT_TORRENTING}
|