2025-02-14 17:32:50 +08:00
|
|
|
# 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
|
2025-02-14 17:52:22 +08:00
|
|
|
command: /data --config /config/config.yaml
|
2025-02-14 17:32:50 +08:00
|
|
|
volumes:
|
|
|
|
- ${Volumes_Path}/data:/data
|
2025-02-14 18:08:10 +08:00
|
|
|
- ${Config_Path}/dufs:/config:ro
|
2025-02-14 17:32:50 +08:00
|
|
|
- /etc/timezone:/etc/timezone:ro
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
restart: unless-stopped
|
|
|
|
|