mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-10 21:16:55 +08:00
29 lines
846 B
YAML
29 lines
846 B
YAML
|
version: "3.8"
|
||
|
networks:
|
||
|
1panel-network:
|
||
|
external: true
|
||
|
services:
|
||
|
alist:
|
||
|
image: xhofe/alist:v3.35.0-ffmpeg
|
||
|
container_name: ${CONTAINER_NAME}
|
||
|
labels:
|
||
|
createdBy: "Apps"
|
||
|
restart: always
|
||
|
networks:
|
||
|
- 1panel-network
|
||
|
ports:
|
||
|
- ${PANEL_APP_PORT_HTTP}:5244
|
||
|
env_file:
|
||
|
- /etc/1panel/envs/global.env
|
||
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||
|
volumes:
|
||
|
- ${ALIST_ROOT_PATH}/data:/opt/alist/data
|
||
|
- ${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
|
||
|
- FORCE=false
|