From 9b382805740e6f7ecd57a1b4568bd98470f7666e Mon Sep 17 00:00:00 2001 From: jc0b Date: Tue, 9 Jun 2020 14:53:11 +0200 Subject: rebasing --- mongodb/docker-compose.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 mongodb/docker-compose.yml (limited to 'mongodb/docker-compose.yml') diff --git a/mongodb/docker-compose.yml b/mongodb/docker-compose.yml new file mode 100644 index 00000000..0253cd7d --- /dev/null +++ b/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 \ No newline at end of file -- cgit v1.2.3