CustomIWMServer/docker-compose.yml
2022-11-20 16:22:29 +01:00

32 lines
621 B
YAML

services:
backend:
build: .
ports:
- "8001:8001"
volumes:
- .:/app
depends_on:
- mongo
mongo:
image: mongo
restart: always
expose:
- "27017:27017"
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: catboys
command: --quiet
mongo-express:
image: mongo-express
restart: always
ports:
- 8081:8081
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: catboys
ME_CONFIG_MONGODB_URL: mongodb://root:catboys@mongo:27017/
depends_on:
- mongo