summaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 9145c551..a7c3698f 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -48,3 +48,25 @@ services:
# uncomment in production
# volumes:
# - "/data/mariadb:/var/lib/mysql"
+ mongo:
+ build:
+ context: ./mongodb
+ restart: on-failure
+ environment:
+ MONGO_INITDB_ROOT_USERNAME: root
+ MONGO_INITDB_ROOT_PASSWORD: rootpassword
+ MONGO_INITDB_DATABASE: admin
+ OPENDC_DB: opendc
+ OPENDC_DB_USERNAME: opendc
+ OPENDC_DB_PASSWORD: opendcpassword
+ ports:
+ - 27017:27017
+
+ mongo-express:
+ image: mongo-express
+ restart: on-failure
+ ports:
+ - 8082:8081
+ environment:
+ ME_CONFIG_MONGODB_ADMINUSERNAME: root
+ ME_CONFIG_MONGODB_ADMINPASSWORD: rootpassword \ No newline at end of file