-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose-new.yml
50 lines (47 loc) · 1 KB
/
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
49
50
version: '3'
services:
fusionpbx:
image: fgst/fusionpbx
ports:
- "5060:5060/tcp"
- "5061:5061/tcp"
- "5060:5060/udp"
- "5080:5080/tcp"
- "5081:5081/tcp"
- "5080:5080/udp"
- "8080:80"
- "7443:7443"
- "8443:8443"
- "9443:443"
- "8021:8021/tcp"
- "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: