CustomIWMServer/docker-compose.yml

33 lines
621 B
YAML
Raw Normal View History

2022-11-18 16:51:24 +00:00
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