forked from planetfederal/signal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (44 loc) · 1.05 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
version: '2'
volumes:
pg-data:
driver: local
services:
signal-mosquitto:
image: toke/mosquitto
mem_limit: 32m
ports:
- '1883:1883'
signal-db:
container_name: signal-db
build: ./docker/postgis
image: signal/postgis:latest
volumes:
- pg-data:/var/lib/postgresql/data
ports:
- '5432:5432'
signal-pgweb:
container_name: signal-pgweb # optional
restart: always # optional
image: sosedoff/pgweb
ports:
- "8081:8081"
links:
- signal-db:signal-db
environment:
- DATABASE_URL=postgres://signal:signal@signal-db:5432/signal?sslmode=disable
depends_on:
- signal-db
signal-server:
container_name: signal-server # optional
build: .
command: 'java -jar /usr/src/app/signal-server.jar'
depends_on:
- signal-db
ports:
- '8085:8085'
environment:
- DB_HOST=signal-db
- VIRTUAL_HOST=signal-server
- TRUST_STORE=/usr/src/app/tls/test-cacerts.jks
- KEY_STORE=/usr/src/app/tls/test-keystore.p12
- AUTO_MIGRATE=true