deploy.stack/alist/compose.yml
2024-03-04 03:40:56 +08:00

22 lines
641 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# mkdir -pv /data/volumes/alist/{data,localFS}
# pull:: docker compose --env-file ./alist/env.yml -f ./alist/compose.yml pull
# run:: docker compose -p alist --env-file ./alist/env.yml -f ./alist/compose.yml up -d
## 随机生成一个密码
# docker exec -it alist-alist-1 ./alist admin random
version: '3.9'
services:
alist:
image: ${IMAGE_TAG}
volumes:
# alist app data
- ${DATA_PATH}:/opt/alist/data
# alist local fs data path
- $LOCALFS_PATH:/data
ports:
- '5244:5244'
environment:
- PUID=0
- PGID=0
- UMASK=022
- TZ=Asia/Shanghai
restart: unless-stopped