-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
52 lines (47 loc) · 1.02 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
45
46
47
48
49
50
51
52
version: "3.8"
services:
postgres:
image: postgres:11
networks:
tg2sip:
ipv4_address: 10.5.0.2
volumes:
- postgres_db:/var/lib/postgresql/data
ports:
- "5432:5432"
environment:
- POSTGRES_DB=tg2sipdemo
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
tg2sip-demo-console:
image: hectorvent/tg2sip-demo-backend
networks:
tg2sip:
ipv4_address: 10.5.0.3
environment:
- DB_USER=value
- TG2SIP_IP=10.5.0.5
- FREESWITCH_IP=10.5.0.4
- POSTGRES_HOST=postgres
- TG2SIPDEMO_TELEGRAM_BOT_TOKEN=${TELEGRAM_BOT_TOKEN}
freeswitch:
image: hectorvent/tg2sip-freeswitch
networks:
tg2sip:
ipv4_address: 10.5.0.4
tg2sip:
image: hectorvent/tg2sip-gateway
volumes:
- tg2sip:/etc/tg2sip/
networks:
tg2sip:
ipv4_address: 10.5.0.5
volumes:
postgres_db:
networks:
tg2sip:
driver: bridge
ipam:
config:
- subnet: 10.5.0.0/16
gateway: 10.5.0.1