summaryrefslogtreecommitdiff
path: root/core/mongodb/docker-compose.yml
diff options
context:
space:
mode:
authorGeorgios Andreadis <info@gandreadis.com>2020-06-29 16:06:35 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2020-08-24 16:04:00 +0200
commit4a79cefdf5d71715b6c575d5c8bb4fea418c2ba6 (patch)
treefc68847d1e010e2962dac8345a0fd0cc9a2f0681 /core/mongodb/docker-compose.yml
parentad31b66503ec65e611ab96c2a540180ed25f5a6f (diff)
Prepare opendc repository for monorepo
This change prepares the opendc repository for a monorepo setup by moving all files to the core/ directory. After all repositories have been merged into this repository, we will move the correct files back.
Diffstat (limited to 'core/mongodb/docker-compose.yml')
-rw-r--r--core/mongodb/docker-compose.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/core/mongodb/docker-compose.yml b/core/mongodb/docker-compose.yml
new file mode 100644
index 00000000..aa54a74c
--- /dev/null
+++ b/core/mongodb/docker-compose.yml
@@ -0,0 +1,30 @@
+version: "3"
+services:
+ mongo:
+ build:
+ context: ./
+ 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
+ #volumes:
+ # - mongo-volume:/data/db
+
+ mongo-express:
+ image: mongo-express
+ restart: on-failure
+ ports:
+ - 8082:8081
+ environment:
+ ME_CONFIG_MONGODB_ADMINUSERNAME: root
+ ME_CONFIG_MONGODB_ADMINPASSWORD: rootpassword
+
+volumes:
+ mongo-volume:
+ external: false