From 97d7d888976d4dc5749782ca2ab1dfbcd1b7b3b1 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 2 Nov 2022 16:44:05 +0100 Subject: [PATCH] add mongodb --- mongodb/.gitignore | 2 ++ mongodb/docker-compose.yml | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 mongodb/.gitignore create mode 100644 mongodb/docker-compose.yml diff --git a/mongodb/.gitignore b/mongodb/.gitignore new file mode 100644 index 0000000..160685c --- /dev/null +++ b/mongodb/.gitignore @@ -0,0 +1,2 @@ +data/ +shared/ diff --git a/mongodb/docker-compose.yml b/mongodb/docker-compose.yml new file mode 100644 index 0000000..752b9cc --- /dev/null +++ b/mongodb/docker-compose.yml @@ -0,0 +1,15 @@ +version: '3.7' + +services: + mongo: + image: mongo:4.4 + restart: unless-stopped + ports: + - "27017:27017" + # command: + # - '--config' + # - '/config/mongod-conf.yml' + volumes: + - ./data:/data/db + - ./shared:/shared +