kios-webapp/docker-compose.yml
Max Schmidt 9f9445e218 Initial Commit
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
2023-05-13 16:38:56 +02:00

28 lines
624 B
YAML

services:
astro:
build:
context: ./astro
dockerfile: Dockerfile
payload:
build:
context: ./payload
dockerfile: Dockerfile
volumes:
- ./data/media:/app/dist/media
environment:
MONGODB_URI: ${MONGODB_URI}
PORT: ${PAYLOAD_PORT}
NODE_ENV: ${NODE_ENV}
PAYLOAD_SECRET: ${PAYLOAD_SECRET}
mongo:
image: mongo:6.0.5
volumes:
- ./data/mongo:/data/db
command:
- --storageEngine=wiredTiger
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGODB_USER}
MONGO_INITDB_ROOT_PASSWORD: ${MONGODB_PW}
ports:
- 27017:27017