-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose-new.yml
48 lines (46 loc) · 1003 Bytes
/
docker-compose-new.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
version: '3'
services:
fusionpbx:
build:
context: ${PWD}/
args:
EXTERNAL_RTP_IP: 42.116.254.242
image: fgst/freeswitch:mvp
ports:
- "5060:5060/tcp"
- "5060:5060/udp"
- "5080:5080/tcp"
- "5080:5080/udp"
- "8080:80"
- "8443:443"
- "16384-16390:16384-16390/udp"
networks:
main:
aliases:
- fusion
volumes:
- fusionpbx_config:/etc/fusionpbx
- freswitch_config:/etc/freeswitch
depends_on:
- db
group_add:
- 20 # dialout
db:
image: postgres:alpine
environment:
POSTGRES_USER: 'fusionpbx'
POSTGRES_DB: 'fusionpbx'
POSTGRES_PASSWORD: 'doAvJVVEqkZTXdHYJ7wpCPNLqS7Db7RR'
volumes:
- fusionpbx_db:/var/lib/postgresql/data
- ./postgres:/docker-entrypoint-initdb.d
networks:
main:
aliases:
- db
networks:
main:
volumes:
fusionpbx_db:
fusionpbx_config:
freswitch_config: