[新服务] dufs webdav dufs – 简单的 Web 文件服务器:上传、下载、搜索、静态文件托管、WebDAV 云盘等

date
Feb 12, 2023
slug
newservice-dufs
status
Published
summary
新服务-
tags
service
type
Post
notion image

Summary

步骤

export DOCKER_PROJ=dufs
#export DOCKER_PORT=18870
mkdir /data/$DOCKER_PROJ; cd /data/$DOCKER_PROJ

cat > docker-compose.yml <<EOF
version: '3'
services:
  dufs:
    image: sigoden/dufs
    volumes:
      - ./data:/data
      # follow symlink to folders outside
      - ./data/drive-gd_omgd_shared-sss:/data/drive-gd_omgd_shared-sss
    #ports:
    #  - 5000:5000
    command: /data -A --auth /@Your-Username:Your-Password
    tty: true
    stdin_open: true
    restart: always
networks:
  default:
    name: npm_nginx_proxy_manager-network
    external: true
EOF

docker-compose down; docker-compose up -d; sleep 1s; docker-compose logs -f

#1

notion image

#2

验证

notion image
notion image
notion image

© Ying Bun 2021 - 2024