infrastructure/docker-compose.yml

38 lines
890 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
adminer:
image: adminer
restart: always
ports:
- "127.0.0.1:8083:8080"
test-helper:
image: registry.gitlab.com/signald/test-infrastructure/test-helper:master
restart: always
build:
context: .
dockerfile: test-helper.Dockerfile
environment:
DB: "host=db user=signal dbname=signal password=password sslmode=disable"
ports:
- "127.0.0.1:8082:8082"
signal:
image: registry.gitlab.com/signald/test-infrastructure/signal-server:3.21
build:
context: .
dockerfile: signal-server.Dockerfile
ports:
- "127.0.0.1:8080:8080"
- "127.0.0.1:8081:8081"