# path:: mkdir -pv /data/volumes/dufs/data && mkdir -pv /data/mygit/config/dufs
# disc:: 请修改 ./config/config.yaml中的配置, 并将其复制到“/data/mygit/config/dufs”目录中
# pull:: docker compose -p dufs --env-file ./dufs/env.cfg -f ./dufs/stack.yml pull
# run:: docker compose -p dufs --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_Path}/dufs:/config:ro
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
    restart: unless-stopped

