From 0153f71a730a9eeb22aa8ca12d6879dceec48839 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Thu, 2 Dec 2021 17:58:25 +0100 Subject: [PATCH] example docker files --- docker/docker-compose.minio.yaml | 24 ++++++++++++++++++++++++ docker/docker-compose.simple.yaml | 11 +++++++++++ 2 files changed, 35 insertions(+) create mode 100644 docker/docker-compose.minio.yaml create mode 100644 docker/docker-compose.simple.yaml diff --git a/docker/docker-compose.minio.yaml b/docker/docker-compose.minio.yaml new file mode 100644 index 0000000..a4866dc --- /dev/null +++ b/docker/docker-compose.minio.yaml @@ -0,0 +1,24 @@ +version: '3.8' + +services: + app: + image: cupcakearmy/morphus + restart: unless-stopped + ports: + - "80:80" + depends_on: + - minio + environment: + ALLOWED_DOMAINS: https://images.unsplash.com https://example.org + STORAGE: minio + MINIO_ACCESS_KEY: minioadmin + MINIO_SECRET_KEY: minioadmin + MINIO_BUCKET: morphus + MINIO_ENDPOINT: http://minio:9000 + + minio: + image: minio/minio + restart: unless-stopped + command: server /data + volumes: + - ./data/minio:/data diff --git a/docker/docker-compose.simple.yaml b/docker/docker-compose.simple.yaml new file mode 100644 index 0000000..cdd0409 --- /dev/null +++ b/docker/docker-compose.simple.yaml @@ -0,0 +1,11 @@ +version: '3.8' + +services: + app: + image: cupcakearmy/morphus + ports: + - "80:80" + volumes: + - ./morphus.yaml:/app/morphus.yaml:ro + - ./data:/data +