I needed a local s3 api for development.
- s3 access from host, container and browser
- pre-signed urls (cors, mixed content)
- working minio frontend
Note that I use a self-signed certificate https://*.docker.localhost
in my traefik setup,
so I needed https otherwise I would get mixed content errors.
If you don't just add minio
and minioui
to your /etc/hosts
file on your host and adapt urls accordingly
docker compose up
login user: root password: password
create bucket test
create access key and use as credentials in main.go
go mod tidy
go run main.go
Example how to upload and download a file with pre-signed urls