minio docker example

This commit is contained in:
cupcakearmy 2021-12-08 21:04:17 +01:00
parent 5eaa4bc108
commit c6f35a8ce6
No known key found for this signature in database
GPG Key ID: 3235314B4D31232F
3 changed files with 16 additions and 7 deletions

3
.gitignore vendored
View File

@ -7,3 +7,6 @@ data
# Configs
morphus.*
keyfile.json
# Keep
!docker/morphus.yaml

View File

@ -8,13 +8,8 @@ services:
- "80:80"
depends_on:
- minio
environment:
ALLOWED_DOMAINS: https://images.unsplash.com
STORAGE: minio
MINIO_ACCESS_KEY: minioadmin
MINIO_SECRET_KEY: minioadmin
MINIO_BUCKET: morphus
MINIO_ENDPOINT: http://minio:9000
volumes:
- ./morphus.yaml:/app/morphus.yaml:ro
minio:
image: minio/minio

11
docker/morphus.yaml Normal file
View File

@ -0,0 +1,11 @@
logLevel: warn
allowedDomains:
- example.org
storage: minio
minio:
accessKey: minioadmin
secretKey: minioadmin
bucket: morphus
endpoint: http://localhost:9000