example docker files

This commit is contained in:
cupcakearmy 2021-12-02 17:58:25 +01:00
parent 3402f178b6
commit 0153f71a73
No known key found for this signature in database
GPG Key ID: 3235314B4D31232F
2 changed files with 35 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,11 @@
version: '3.8'
services:
app:
image: cupcakearmy/morphus
ports:
- "80:80"
volumes:
- ./morphus.yaml:/app/morphus.yaml:ro
- ./data:/data