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