mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-07-30 00:15:50 -04:00
The idea is to simplify the setup process a bit, so it's easier to get to the point where you can develop.
25 lines
462 B
YAML
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/
|