From c8e060edfeaf44842923ce999786ed01b790e06d Mon Sep 17 00:00:00 2001 From: Finn Herzfeld Date: Tue, 4 Dec 2018 12:16:01 -0800 Subject: [PATCH] Add docker-compose.yaml --- docker-compose.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 docker-compose.yaml diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..67521ab --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,26 @@ +version: '3' +services: + redis: + image: redis + ports: + - "6379:6379" + restart: always + db: + image: postgres + restart: always + environment: + POSTGRES_PASSWORD: password + POSTGRES_USER: signal + expose: + - 5432 + signal: + image: registry.git.callpipe.com/finn/signald-test-infrastructure/signal-server:2.02 + build: + context: . + dockerfile: signal-server.Dockerfile + command: server /etc/signal-server.yaml + volumes: + - "./signal-server.yaml:/etc/signal-server.yaml" + ports: + - "127.0.0.1:8080:8080" + - "127.0.0.1:8081:8081"