-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
47 lines (45 loc) · 973 Bytes
/
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
version: '3'
services:
fusionpbx:
image: crazyquark/fusionpbx
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
devices:
- /dev/ttyUSB2
- /dev/ttyUSB3
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: