Files
Holocore/docker-compose.yml
T
Ziggy 4a51b7396b Created a docker-compose.yml, which initializes and runs a mongo instance
The idea is to simplify the setup process a bit, so it's easier to get
to the point where you can develop.
2022-11-29 16:30:18 +01:00

25 lines
462 B
YAML

version: '3.1'
services:
mongo:
image: mongo:5.0.14
restart: always
ports:
- "27017:27017"
environment:
MONGO_INITDB_DATABASE: cu
volumes:
- ./mongo_data:/data/db
- ./mongo_init_scripts:/docker-entrypoint-initdb.d
mongo-express:
image: mongo-express:0.54.0
restart: always
depends_on:
- mongo
ports:
- "8081:8081"
environment:
ME_CONFIG_MONGODB_URL: mongodb://mongo:27017/