infrastructure/docker-compose.yaml

26 lines
603 B
YAML

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"