2024-07-17 16:30:13 +08:00
|
|
|
networks:
|
|
|
|
1panel-network:
|
|
|
|
external: true
|
|
|
|
|
|
|
|
services:
|
|
|
|
movie-pilot:
|
2024-09-18 20:19:56 +08:00
|
|
|
image: jxxghp/moviepilot:1.9.17
|
2024-07-17 16:30:13 +08:00
|
|
|
container_name: ${CONTAINER_NAME}
|
|
|
|
labels:
|
|
|
|
createdBy: "Apps"
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- 1panel-network
|
|
|
|
ports:
|
|
|
|
- ${PANEL_APP_PORT_HTTP}:3000
|
|
|
|
- ${PANEL_APP_PORT_API}:3001
|
|
|
|
env_file:
|
2024-11-27 17:54:18 +08:00
|
|
|
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
2024-11-27 17:14:53 +08:00
|
|
|
- /etc/1panel/envs/movie-pilot/movie-pilot.env
|
2024-07-17 16:30:13 +08:00
|
|
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
- ${MOVIEPILOT_ROOT_PATH}/config:/config
|
|
|
|
- ${MOVIEPILOT_ROOT_PATH}/moviepilot:/moviepilot
|
|
|
|
- ${MOVIEPILOT_ROOT_PATH}/download:/download
|
|
|
|
- ${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:
|
|
|
|
- NGINX_PORT=3000
|
|
|
|
- PORT=3001
|
|
|
|
- PUID=0
|
|
|
|
- PGID=0
|
|
|
|
- UMASK=022
|
|
|
|
logging:
|
|
|
|
driver: json-file
|
|
|
|
options:
|
|
|
|
max-size: 5m
|