From b3853c7fe0f0911eb650086568f4a5cea6a9b7ef Mon Sep 17 00:00:00 2001 From: Adriano Avelino Date: Wed, 27 Nov 2019 22:41:25 -0300 Subject: [PATCH] adds container postgres --- docker-compose.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..b326c77 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,11 @@ +version: '3' + +services: + db: + image: 'postgres:9.5' + volumes: + - 'postgres:/var/lib/postgresql/data' + ports: + - '5432:5432' +volumes: + postgres: