diff options
| author | jc0b <j.burley@vu.nl> | 2020-05-31 00:14:50 +0200 |
|---|---|---|
| committer | jc0b <j.burley@vu.nl> | 2020-05-31 00:14:50 +0200 |
| commit | 3e4233c0d8b8d76b0f407341560ed84de38323ec (patch) | |
| tree | c8279536ea0119807bccd5b3d4bf330aed084dd6 /mongodb/docker-compose.yml | |
| parent | 64c6d6dc7638203615f08bfc83355405c4236878 (diff) | |
Prefabs progress
Diffstat (limited to 'mongodb/docker-compose.yml')
| -rw-r--r-- | mongodb/docker-compose.yml | 30 |
1 files changed, 30 insertions, 0 deletions
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 |
