Add docker-compose.yaml

This commit is contained in:
Finn Herzfeld 2018-12-04 12:16:01 -08:00
parent 91c3750911
commit c8e060edfe

26
docker-compose.yaml Normal file
View file

@ -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"