From d12ffaee9b4fceff092ef5e3625733a5ee9a0685 Mon Sep 17 00:00:00 2001 From: tillias Date: Sun, 11 Oct 2020 21:52:35 +0200 Subject: [PATCH] Initial version of docker-compose.yml #39 --- docker-compose.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..27b847c --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,20 @@ +# Use postgres/example user/password credentials +version: '3.1' +services: + db: + image: postgres + restart: always + environment: + POSTGRES_PASSWORD: kEt#uR6M + microcatalog: + image: tillias/microcatalog + restart: always + environment: + DB_HOST: db + DB_PORT: 5432 + DB_NAME: postgres + DB_PASSWORD: kEt#uR6M + DB_USER: postgres + CSP_IMAGE_SRC: '*' + ports: + - 8080:8080