diff options
| author | A Farzat <a@farzat.xyz> | 2025-08-18 12:32:06 +0300 |
|---|---|---|
| committer | A Farzat <a@farzat.xyz> | 2025-08-18 12:32:06 +0300 |
| commit | b750c0305e2ac0218997ae7bb88c964b66d0c393 (patch) | |
| tree | 0f08e3f406b0d4871478c4d8f2fece0087386204 /docker-compose.yml | |
| parent | 2e8162d46fcc8c9dcd8e9aa07f7e15fea0ba5183 (diff) | |
| download | csca5028-b750c0305e2ac0218997ae7bb88c964b66d0c393.tar.gz csca5028-b750c0305e2ac0218997ae7bb88c964b66d0c393.zip | |
Add mongodb as a docker container
Diffstat (limited to 'docker-compose.yml')
| -rw-r--r-- | docker-compose.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..34cbd27 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,9 @@ +services: + mongo-api: + image: mongo:7.0.23 + container_name: mongodb + ports: + - 27017:27017 + volumes: + - ./databases/init-scripts:/docker-entrypoint-initdb.d:ro + - ./.docker-data/mongo-db:/data/db |
