Inspired by mindav
minio + webdav
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"
}
}
go install github.com/air-verse/air@latest
air