diff options
author | Michael McVady <femtonaut@gmail.com> | 2022-03-10 20:27:25 -0500 |
---|---|---|
committer | Michael McVady <femtonaut@gmail.com> | 2022-03-10 20:27:25 -0500 |
commit | 14d515fe70b0a338efc3a571f82190d3c34826d6 (patch) | |
tree | 0c276d69c45ee6c7afbf4dbd0ac04de71f2671bf /docker-compose.yml | |
parent | 0455b7aa4ca481627ee25a3f4879291b3358433c (diff) |
Wire up with docker-compose
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 27 |
1 files changed, 27 insertions, 0 deletions
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 + |