aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorA Farzat <a@farzat.xyz>2025-08-18 12:32:06 +0300
committerA Farzat <a@farzat.xyz>2025-08-18 12:32:06 +0300
commitb750c0305e2ac0218997ae7bb88c964b66d0c393 (patch)
tree0f08e3f406b0d4871478c4d8f2fece0087386204 /docker-compose.yml
parent2e8162d46fcc8c9dcd8e9aa07f7e15fea0ba5183 (diff)
downloadcsca5028-b750c0305e2ac0218997ae7bb88c964b66d0c393.tar.gz
csca5028-b750c0305e2ac0218997ae7bb88c964b66d0c393.zip
Add mongodb as a docker container
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml9
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