From 36c901a89427d64b27dacfea5162b774f20942eb Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Sat, 23 May 2020 09:58:29 +0200 Subject: [PATCH] Add docker compose file --- docker-compose.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..1c49c25 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,22 @@ +version: '3.4' +services: + platoo: + build: . + image: victorm/platoo:v1 + environment: + user: platoo + host: 172.17.0.1 + database: platoodb + password: s3cr3t + port: 5432 + ports: + - "8080:8080" + postgresql: + image: postgres:9.6.18 + ports: + - "5432:5432" + environment: + POSTGRES_USER: platoo + POSTGRES_DB: platoodb + POSTGRES_PASSWORD: s3cr3t +