Skip to content

0x-jerry/mindav

Repository files navigation

mindav

Inspired by mindav

minio + webdav

Usage

Use docker compose:

version: '3'
services:
  mindav:
    build:
      context: .
      dockerfile: Dockerfile
    volumes:
      - ./config.json:/mindav/config.json
    ports:
      - '9000:8080'

Example ./config.json:

{
  "app": {
    "port": "8080",
    "admin": {
      "username": "admin",
      "password": "password"
    },
    "uploadMode": "file"
  },
  "minio": {
    "endpoint": "web.server.com",
    "ssl": true,
    "bucketName": "webdav",
    "accessKey": "accessKey",
    "secretAccessKey": "secretAccessKey"
  }
}

Development

go install github.com/air-verse/air@latest
air