about summary refs log tree commit diff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-02-07 02:45:33 +0100
committerEmile <hanemile@protonmail.com>2019-02-07 02:45:33 +0100
commitd2d08cecf4746a53df305fb67468919ef9657836 (patch)
tree29b2823fc9137d9b6566f63a36091f62d62068e6 /docker-compose.yml
parent515aeb56e414b4dc43a58171a93c3eaebdcd1906 (diff)
new model, see the wiki for a description how this all works
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml12
1 files changed, 10 insertions, 2 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index a268556..ed0c55b 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,5 +1,13 @@
 version: '3'
 
 services:
-  db:
-    build: .
+  postgresql:
+    image: postgres
+    volumes:
+      - db-data:/var/lib/postgresql/data
+    ports:
+      - "5432:5432"
+
+volumes:
+  db-data:
+    driver: local