From 4fa2649aca4610b29b4fcbe98e97c0bc718bbe7a Mon Sep 17 00:00:00 2001 From: Emile Date: Fri, 18 Oct 2019 22:42:43 +0200 Subject: basic postgresql setup --- db/docker-compose.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 db/docker-compose.yml 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 -- cgit 1.4.1