Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CONF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UvA
CONF
Commits
f73d43d5
Unverified
Commit
f73d43d5
authored
Mar 06, 2018
by
skoulouzis
Committed by
GitHub
Mar 06, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update wt.yml
parent
c3739746
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
184 additions
and
282 deletions
+184
-282
wt.yml
docs/composer_files/WT/wt.yml
+184
-282
No files found.
docs/composer_files/WT/wt.yml
View file @
f73d43d5
########################################################################
#####################################################
# Currently, in order to monitor, you need a monitor-adapter container #
### PLEASE, CONFIGURE MONITOR-ADAPTER ENVIRONMENT ###
# in each host docker with ports 4242, 4245 and 8125 published. #
#####################################################
########################################################################
version
:
"
3.3"
version
:
"
3.3"
services
:
services
:
monitor-adapter
:
image
:
beia/monitoring_adapter
deploy
:
replicas
:
1
update_config
:
parallelism
:
1
delay
:
10s
restart_policy
:
condition
:
any
placement
:
constraints
:
[
node.role == manager
]
environment
:
-
MONITORING_SERVER=10.128.19.62
-
MONITORING_PREFIX=eu.switch.wt
hostname
:
monitor-adapter
networks
:
uc-ol
:
aliases
:
-
monitor-adapter
mongo
:
image
:
wtelecom/mongo:switch
deploy
:
replicas
:
1
update_config
:
parallelism
:
1
delay
:
10s
restart_policy
:
condition
:
any
placement
:
constraints
:
[
node.role == manager
]
depends_on
:
-
monitor-adapter
volumes
:
-
mongo-volume:/data/db
hostname
:
mongo
networks
:
uc-ol
:
aliases
:
-
mongo
redis
:
image
:
redis:4.0-alpine
deploy
:
replicas
:
1
update_config
:
parallelism
:
1
delay
:
10s
restart_policy
:
condition
:
any
placement
:
constraints
:
[
node.role == manager
]
depends_on
:
-
monitor-adapter
volumes
:
-
redis-volume:/data
hostname
:
redis
networks
:
uc-ol
:
aliases
:
-
redis
db
:
image
:
wtelecom/mysql:switch
deploy
:
replicas
:
1
update_config
:
parallelism
:
1
delay
:
10s
restart_policy
:
condition
:
any
placement
:
constraints
:
[
node.role == manager
]
depends_on
:
-
monitor-adapter
environment
:
-
MYSQL_ROOT_PASSWORD=supersecret
volumes
:
-
db-volume:/var/lib/mysql
hostname
:
db
networks
:
uc-ol
:
aliases
:
-
db
# asterisk:
# image: wtelecom/asterisk:switch
# deploy:
# replicas: 1
# update_config:
# parallelism: 1
# delay: 10s
# restart_policy:
# condition: any
# depends_on:
# - monitor-adapter
# - db
# hostname: asterisk
# networks:
# uc-ol:
# aliases:
# - asterisk
doubango
:
image
:
wtelecom/doubango:switch
deploy
:
replicas
:
1
update_config
:
parallelism
:
1
delay
:
10s
restart_policy
:
condition
:
any
depends_on
:
-
monitor-adapter
-
db
hostname
:
doubango
networks
:
uc-ol
:
aliases
:
-
doubango
kamailio
:
kamailio
:
image
:
wtelecom/kamailio:switch
image
:
wtelecom/kamailio:switch
deploy
:
deploy
:
...
@@ -17,10 +137,10 @@ services:
...
@@ -17,10 +137,10 @@ services:
placement
:
placement
:
constraints
:
[
node.role == manager
]
constraints
:
[
node.role == manager
]
depends_on
:
depends_on
:
-
monitor-adapter
-
db
-
db
-
asterisk
#
- asterisk
-
doubango
-
doubango
-
monitor-adapter
environment
:
environment
:
-
SUBNET_OVERLAY=192.168.2.0
-
SUBNET_OVERLAY=192.168.2.0
volumes
:
volumes
:
...
@@ -34,6 +154,14 @@ services:
...
@@ -34,6 +154,14 @@ services:
published
:
5061
published
:
5061
protocol
:
udp
protocol
:
udp
mode
:
host
mode
:
host
-
target
:
443
published
:
443
protocol
:
tcp
mode
:
host
-
target
:
80
published
:
80
protocol
:
tcp
mode
:
host
hostname
:
kamailio
hostname
:
kamailio
networks
:
networks
:
uc-ol
:
uc-ol
:
...
@@ -50,11 +178,11 @@ services:
...
@@ -50,11 +178,11 @@ services:
restart_policy
:
restart_policy
:
condition
:
any
condition
:
any
depends_on
:
depends_on
:
-
monitor-adapter
-
db
-
db
-
kamailio
-
kamailio
-
monitor-adapter
environment
:
environment
:
-
PORT_MAX=100
50
-
PORT_MAX=100
07
-
PORT_MIN=10000
-
PORT_MIN=10000
-
SUBNET_OVERLAY=192.168.2.0
-
SUBNET_OVERLAY=192.168.2.0
-
BRIDGE_MODE=YES
-
BRIDGE_MODE=YES
...
@@ -69,209 +197,37 @@ services:
...
@@ -69,209 +197,37 @@ services:
published
:
10001
published
:
10001
protocol
:
udp
protocol
:
udp
mode
:
host
mode
:
host
#- target: 10002
-
target
:
10002
#published: 10002
published
:
10002
#protocol: udp
protocol
:
udp
#mode: host
mode
:
host
#- target: 10003
-
target
:
10003
#published: 10003
published
:
10003
#protocol: udp
protocol
:
udp
#mode: host
mode
:
host
#- target: 10004
-
target
:
10004
#published: 10004
published
:
10004
#protocol: udp
protocol
:
udp
#mode: host
mode
:
host
#- target: 10005
-
target
:
10005
#published: 10005
published
:
10005
#protocol: udp
protocol
:
udp
#mode: host
mode
:
host
#- target: 10006
-
target
:
10006
#published: 10006
published
:
10006
#protocol: udp
protocol
:
udp
#mode: host
mode
:
host
#- target: 10007
-
target
:
10007
#published: 10007
published
:
10007
#protocol: udp
protocol
:
udp
#mode: host
mode
:
host
#- target: 10008
#published: 10008
#protocol: udp
#mode: host
#- target: 10009
#published: 10009
#protocol: udp
#mode: host
#- target: 10010
#published: 10010
#protocol: udp
#mode: host
#- target: 10011
#published: 10011
#protocol: udp
#mode: host
#- target: 10012
#published: 10012
#protocol: udp
#mode: host
#- target: 10013
#published: 10013
#protocol: udp
#mode: host
#- target: 10014
#published: 10014
#protocol: udp
#mode: host
#- target: 10015
#published: 10015
#protocol: udp
#mode: host
#- target: 10016
#published: 10016
#protocol: udp
#mode: host
#- target: 10017
#published: 10017
#protocol: udp
#mode: host
#- target: 10018
#published: 10018
#protocol: udp
#mode: host
#- target: 10019
#published: 10019
#protocol: udp
#mode: host
#- target: 10020
#published: 10020
#protocol: udp
#mode: host
#- target: 10021
#published: 10021
#protocol: udp
#mode: host
#- target: 10022
#published: 10022
#protocol: udp
#mode: host
#- target: 10023
#published: 10023
#protocol: udp
#mode: host
#- target: 10024
#published: 10024
#protocol: udp
#mode: host
#- target: 10025
#published: 10025
#protocol: udp
#mode: host
#- target: 10026
#published: 10026
#protocol: udp
#mode: host
#- target: 10027
#published: 10027
#protocol: udp
#mode: host
#- target: 10028
#published: 10028
#protocol: udp
#mode: host
#- target: 10029
#published: 10029
#protocol: udp
#mode: host
#- target: 10030
#published: 10030
#protocol: udp
#mode: host
#- target: 10031
#published: 10031
#protocol: udp
#mode: host
#- target: 10032
#published: 10032
#protocol: udp
#mode: host
#- target: 10033
#published: 10033
#protocol: udp
#mode: host
#- target: 10034
#published: 10034
#protocol: udp
#mode: host
#- target: 10035
#published: 10035
#protocol: udp
#mode: host
#- target: 10036
#published: 10036
#protocol: udp
#mode: host
#- target: 10037
#published: 10037
#protocol: udp
#mode: host
#- target: 10038
#published: 10038
#protocol: udp
#mode: host
#- target: 10039
#published: 10039
#protocol: udp
#mode: host
#- target: 10040
#published: 10040
#protocol: udp
#mode: host
#- target: 10041
#published: 10041
#protocol: udp
#mode: host
#- target: 10042
#published: 10042
#protocol: udp
#mode: host
#- target: 10043
#published: 10043
#protocol: udp
#mode: host
#- target: 10044
#published: 10044
#protocol: udp
#mode: host
#- target: 10045
#published: 10045
#protocol: udp
#mode: host
#- target: 10046
#published: 10046
#protocol: udp
#mode: host
#- target: 10047
#published: 10047
#protocol: udp
#mode: host
#- target: 10048
#published: 10048
#protocol: udp
#mode: host
#- target: 10049
#published: 10049
#protocol: udp
#mode: host
#- target: 10050
#published: 10050
#protocol: udp
#mode: host
networks
:
networks
:
uc-ol
:
uc-ol
:
aliases
:
aliases
:
-
rtpengine
-
rtpengine
asterisk
:
webportalbackend
:
image
:
wtelecom/
asterisk
:switch
image
:
wtelecom/
webportalbackend
:switch
deploy
:
deploy
:
replicas
:
1
replicas
:
1
update_config
:
update_config
:
...
@@ -280,34 +236,23 @@ services:
...
@@ -280,34 +236,23 @@ services:
restart_policy
:
restart_policy
:
condition
:
any
condition
:
any
depends_on
:
depends_on
:
-
db
-
monitor-adapter
-
monitor-adapter
hostname
:
asterisk
-
redis
networks
:
-
mongo
uc-ol
:
-
kamailio
aliases
:
-
rtpengine
-
asterisk
ports
:
-
"
3000:3000"
doubango
:
volumes
:
image
:
wtelecom/doubango:switch
-
/etc/hostname:/docker-entrypoint/hostname:ro
deploy
:
hostname
:
webportalbackend
replicas
:
1
update_config
:
parallelism
:
1
delay
:
10s
restart_policy
:
condition
:
any
depends_on
:
-
db
-
monitor-adapter
hostname
:
doubango
networks
:
networks
:
uc-ol
:
uc-ol
:
aliases
:
aliases
:
-
doubango
-
webportalbackend
db
:
webportal
:
image
:
wtelecom/
mysq
l:switch
image
:
wtelecom/
webporta
l:switch
deploy
:
deploy
:
replicas
:
1
replicas
:
1
update_config
:
update_config
:
...
@@ -315,68 +260,25 @@ services:
...
@@ -315,68 +260,25 @@ services:
delay
:
10s
delay
:
10s
restart_policy
:
restart_policy
:
condition
:
any
condition
:
any
placement
:
constraints
:
[
node.role == manager
]
depends_on
:
depends_on
:
-
monitor-adapter
-
monitor-adapter
environment
:
-
kamailio
-
MYSQL_ROOT_PASSWORD=supersecret
-
rtpengine
-
webportalbackend
ports
:
-
"
4200:4200"
volumes
:
volumes
:
-
db-volume:/var/lib/mysql
-
/etc/hostname:/docker-entrypoint/hostname:ro
hostname
:
db
hostname
:
webportal
networks
:
uc-ol
:
aliases
:
-
db
#monitor-server:
#image: salmant/ul_monitoring_server_container_image
#deploy:
#replicas: 1
#update_config:
#parallelism: 1
#delay: 10s
#restart_policy:
#condition: any
#placement:
#constraints: [node.role == manager]
#environment:
#- MONITORING_SERVER=monitor-server
#ports:
#- "8080:8080"
#- "4242:4242"
#- "4245:4245"
#- "7199:7199"
#- "7000:7000"
#- "7001:7001"
#- "9160:9160"
#- "9042:9042"
#- "8012:8012"
#- "61621:61621"
#hostname: monitor-server
monitor-adapter
:
image
:
beia/monitoring_agent
deploy
:
replicas
:
1
update_config
:
parallelism
:
1
delay
:
10s
restart_policy
:
condition
:
any
placement
:
constraints
:
[
node.role == manager
]
environment
:
-
MONITORING_SERVER=monitor-server
-
MONITORING_PREFIX=eu.switch.wt
hostname
:
monitor-adapter
networks
:
networks
:
uc-ol
:
uc-ol
:
aliases
:
aliases
:
-
monitor-adapter
-
webportal
volumes
:
volumes
:
db-volume
:
db-volume
:
redis-volume
:
mongo-volume
:
networks
:
networks
:
uc-ol
:
uc-ol
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment