Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
This commit is contained in:
Max Schmidt
2023-05-13 19:10:37 +02:00
parent 43fc0a402c
commit 0dfad4431f
14 changed files with 136 additions and 52 deletions

View File

@ -1,9 +1,11 @@
services:
astro:
build:
context: ./astro
dockerfile: Dockerfile
container_name: ${NAME}-astro
restart: unless-stopped
payload:
container_name: ${NAME}_cms
restart: unless-stopped
build:
context: ./payload
dockerfile: Dockerfile
@ -12,7 +14,6 @@ services:
environment:
MONGODB_URI: ${MONGODB_URI}
PORT: ${PAYLOAD_PORT}
NODE_ENV: ${NODE_ENV}
PAYLOAD_SECRET: ${PAYLOAD_SECRET}
mongo:
image: mongo:6.0.5
@ -23,5 +24,3 @@ services:
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGODB_USER}
MONGO_INITDB_ROOT_PASSWORD: ${MONGODB_PW}
ports:
- 27017:27017