infrastructure/docker-compose.yml

43 lines
1 KiB
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
volumes:
- "./postgres-data:/var/lib/postgresql/data"
adminer:
image: adminer
restart: always
ports:
- "127.0.0.1:8083:8080"
testhelper:
image: registry.git.callpipe.com/finn/signald-test-infrastructure/testhelper:master
restart: always
build:
context: .
dockerfile: testhelper.Dockerfile
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:
2020-06-17 05:28:33 +00:00
image: registry.git.callpipe.com/finn/signald-test-infrastructure/signal-server:2.92
2018-12-04 20:16:01 +00:00
build:
context: .
dockerfile: signal-server.Dockerfile
volumes:
- "./signal-server.yaml:/etc/signal-server.yaml"
ports:
- "127.0.0.1:8080:8080"
- "127.0.0.1:8081:8081"