From c6f35a8ce69ce669b6646001d626bc1c4a88b4fb Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Wed, 8 Dec 2021 21:04:17 +0100 Subject: [PATCH] minio docker example --- .gitignore | 3 +++ docker/docker-compose.minio.yaml | 9 ++------- docker/morphus.yaml | 11 +++++++++++ 3 files changed, 16 insertions(+), 7 deletions(-) create mode 100644 docker/morphus.yaml diff --git a/.gitignore b/.gitignore index 835186c..83dd2b9 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,6 @@ data # Configs morphus.* keyfile.json + +# Keep +!docker/morphus.yaml diff --git a/docker/docker-compose.minio.yaml b/docker/docker-compose.minio.yaml index 1f95776..4accd7f 100644 --- a/docker/docker-compose.minio.yaml +++ b/docker/docker-compose.minio.yaml @@ -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 diff --git a/docker/morphus.yaml b/docker/morphus.yaml new file mode 100644 index 0000000..24c7fdc --- /dev/null +++ b/docker/morphus.yaml @@ -0,0 +1,11 @@ +logLevel: warn + +allowedDomains: + - example.org + +storage: minio +minio: + accessKey: minioadmin + secretKey: minioadmin + bucket: morphus + endpoint: http://localhost:9000