Add docker-compose.yaml
This commit is contained in:
parent
91c3750911
commit
c8e060edfe
1 changed files with 26 additions and 0 deletions
26
docker-compose.yaml
Normal file
26
docker-compose.yaml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
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"
|
Loading…
Reference in a new issue