mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-15 15:11:55 +08:00
萌森
7e5dafb00d
Some checks failed
Push custom to released / push-branch (push) Has been cancelled
Signed-off-by: 萌森 <qyg2297248353@163.com>
31 lines
921 B
YAML
31 lines
921 B
YAML
networks:
|
|
1panel-network:
|
|
external: true
|
|
|
|
services:
|
|
sonarr:
|
|
image: linuxserver/sonarr:4.0.9
|
|
container_name: ${CONTAINER_NAME}
|
|
labels:
|
|
createdBy: "Apps"
|
|
restart: always
|
|
networks:
|
|
- 1panel-network
|
|
ports:
|
|
- ${PANEL_APP_PORT_HTTP}:8989
|
|
env_file:
|
|
- /etc/1panel/envs/global.env
|
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
|
volumes:
|
|
- ${SONARR_ROOT_PATH}/config:/config
|
|
- ${SONARR_ROOT_PATH}/tv:/tv
|
|
- ${SONARR_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=1000
|
|
- PGID=1000
|
|
- UMASK=022
|
|
- TZ=Asia/Shanghai
|