From 14d515fe70b0a338efc3a571f82190d3c34826d6 Mon Sep 17 00:00:00 2001 From: Michael McVady Date: Thu, 10 Mar 2022 20:27:25 -0500 Subject: Wire up with docker-compose --- docker-compose.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 docker-compose.yml (limited to 'docker-compose.yml') diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..e9d0ec9 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,27 @@ +version: "2" + +services: + + clog: + container_name: clog + image: clog:latest + build: . + ports: + - "8888:8888" + environment: + - POSTGRES_PASSWORD=postgres + depends_on: + - postgres + + postgres: + container_name: clog-postgres + image: postgres:12-alpine + volumes: + - .vols/database:/var/lib/postgresql/data + ports: + - "5555:5432" + environment: + - POSTGRES_USER=postgres + - POSTGRES_PASSWORD=postgres + - POSTGRES_DB=clog + -- cgit v1.2.3