2023-05-13 14:38:56 +00:00
|
|
|
services:
|
|
|
|
astro:
|
2023-05-13 17:10:37 +00:00
|
|
|
container_name: ${NAME}-astro
|
|
|
|
restart: unless-stopped
|
2023-05-17 07:18:08 +00:00
|
|
|
networks:
|
|
|
|
- hallo
|
|
|
|
depends_on:
|
|
|
|
- payload
|
2023-05-13 17:10:37 +00:00
|
|
|
|
2023-05-13 14:38:56 +00:00
|
|
|
payload:
|
2023-05-17 07:18:08 +00:00
|
|
|
container_name: ${NAME}_payload
|
2023-05-13 17:10:37 +00:00
|
|
|
restart: unless-stopped
|
2023-05-13 14:38:56 +00:00
|
|
|
build:
|
|
|
|
context: ./payload
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
volumes:
|
|
|
|
- ./data/media:/app/dist/media
|
|
|
|
environment:
|
|
|
|
PORT: ${PAYLOAD_PORT}
|
|
|
|
PAYLOAD_SECRET: ${PAYLOAD_SECRET}
|
2023-05-17 07:18:08 +00:00
|
|
|
MONGODB_URI: ${MONGODB_URI}
|
|
|
|
networks:
|
|
|
|
- hallo
|
|
|
|
- test
|
|
|
|
depends_on:
|
|
|
|
- mongo
|
|
|
|
|
2023-05-13 14:38:56 +00:00
|
|
|
mongo:
|
2023-05-17 07:18:08 +00:00
|
|
|
container_name: ${NAME}_mongo
|
2023-05-13 14:38:56 +00:00
|
|
|
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}
|
2023-05-17 07:18:08 +00:00
|
|
|
networks:
|
|
|
|
- test
|
|
|
|
|
|
|
|
networks:
|
|
|
|
hallo:
|
|
|
|
test:
|