add(dufs): add dufs stack

This commit is contained in:
cnphpbb
2025-02-14 17:32:50 +08:00
parent 4ce58efd24
commit 340cd75ac0
3 changed files with 48 additions and 0 deletions

20
dufs/stack.yml Normal file
View File

@@ -0,0 +1,20 @@
# path:: mkdir -pv /data/volumes/dufs/data
# pull:: docker compose -p memos --env-file ./dufs/env.cfg -f ./dufs/stack.yml pull
# run:: docker compose -p memos --env-file ./dufs/env.cfg -f ./dufs/stack.yml up -d
services:
dufs:
image: ${IMAGE_TAG}
container_name: dufs
environment:
- TZ=Asia/Shanghai
ports:
- 5000:5000
command: /data --config /config/config.yaml
volumes:
- ${Volumes_Path}/data:/data
- ./config:/config
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped