about summary refs log tree commit diff
path: root/db/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'db/docker-compose.yml')
-rw-r--r--db/docker-compose.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/db/docker-compose.yml b/db/docker-compose.yml
new file mode 100644
index 0000000..3586121
--- /dev/null
+++ b/db/docker-compose.yml
@@ -0,0 +1,12 @@
+version: '3'
+services:
+    mydb:
+        image: postgres
+        ports:
+            - "5432:5432"
+        volumes:
+            - "db-data:/var/lib/postgresql/data"
+ 
+volumes:
+    db-data:
+        driver: local