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 +