aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml27
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
+