mirror of
https://github.com/cupcakearmy/morphus.git
synced 2024-12-22 08:06:30 +00:00
example docker files
This commit is contained in:
parent
3402f178b6
commit
0153f71a73
24
docker/docker-compose.minio.yaml
Normal file
24
docker/docker-compose.minio.yaml
Normal 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
|
11
docker/docker-compose.simple.yaml
Normal file
11
docker/docker-compose.simple.yaml
Normal 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user