[新服务] docker-compose zfile用于云盘列表onedrive+google drive

date
Feb 14, 2023
slug
newservice-zfile-drive-listing
status
Published
summary
新服务 云盘 网盘列表
tags
service
type
Post
URL
notion image

Summary

步骤

# https://docs.zfile.vip/install/os-docker/

export DOCKER_PROJ=zfile
mkdir /data/$DOCKER_PROJ; cd /data/$DOCKER_PROJ

cat > docker-compose.yml <<EOF
version: '3.3'
services:
    zfile:
        container_name: zfile
        restart: always
        #ports:
        #    - '8080:8080'
        volumes:
            - './db:/root/.zfile-v4/db'
            - './logs:/root/.zfile-v4/logs'
            - './data/file:/data/file'
        image: zhaojun1998/zfile
networks:
  default:
    name: npm_nginx_proxy_manager-network
    external: true
EOF

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

password protection

notion image

# 自建google drive api - go to https://console.cloud.google.com/apis/dashboard

notion image
notion image

验证


© Ying Bun 2021 - 2024