infrastructure/docker-compose.yml

39 lines
890 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
2019-10-17 04:28:31 +00:00
adminer:
image: adminer
restart: always
ports:
- "127.0.0.1:8083:8080"
test-helper:
image: registry.gitlab.com/signald/test-infrastructure/test-helper:master
2019-10-17 04:28:31 +00:00
restart: always
build:
context: .
dockerfile: test-helper.Dockerfile
2019-10-17 04:28:31 +00:00
environment:
DB: "host=db user=signal dbname=signal password=password sslmode=disable"
ports:
- "127.0.0.1:8082:8082"
2018-12-04 20:16:01 +00:00
signal:
image: registry.gitlab.com/signald/test-infrastructure/signal-server:3.21
2018-12-04 20:16:01 +00:00
build:
context: .
dockerfile: signal-server.Dockerfile
ports:
- "127.0.0.1:8080:8080"
- "127.0.0.1:8081:8081"