infrastructure/docker-compose.yaml

27 lines
603 B
YAML
Raw Normal View History

2018-12-04 20:16:01 +00:00
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"