forked from fonoster/routr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.dev.yaml
52 lines (46 loc) · 1.19 KB
/
compose.dev.yaml
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"
services:
# RTPEngine requires of network mode "host" to work properly. However, this option doesn't work on OSX.
# For development, we are opening a few ports to the host machine. For production, you must use
# the network_mode: host which works on Linux.
rtpengine:
image: fonoster/rtpengine:latest
restart: always
# Uncomment the following line for production
# network_mode: host
environment:
# Set DOCKER_HOST_ADDRESS to an IP address that is reachable to the SIP clients
PUBLIC_IP: ${DOCKER_HOST_ADDRESS}
PORT_MIN: 10000
PORT_MAX: 10020
LOG_LEVEL: 8
ports:
- 22222:22222/udp
- 10000-10020:10000-10020/udp
redis:
image: redis:7.0.8-alpine
restart: always
ports:
- 6379:6379
postgres:
image: postgres:14.1-alpine
restart: always
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
TZ: UTC
PGTZ: UTC
ports:
- 5432:5432
volumes:
- db:/var/lib/postgresql/data
adminer:
image: adminer
restart: always
environment:
- ADMINER_DEFAULT_SERVER=postgres
ports:
- 8080:8080
volumes:
db:
driver: local