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
94e8092f
Unverified
Commit
94e8092f
authored
Dec 07, 2017
by
skoulouzis
Committed by
GitHub
Dec 07, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update beia_docker-compose.yml
parent
3f0dac53
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
147 additions
and
67 deletions
+147
-67
beia_docker-compose.yml
docs/composer_files/beia_docker-compose.yml
+147
-67
No files found.
docs/composer_files/beia_docker-compose.yml
View file @
94e8092f
version
:
'
3'
version
:
'
3'
services
:
services
:
telegreen
:
graphite
:
build
:
restart
:
always
context
:
../software/telegreen
image
:
vladwing/graphite
image
:
beia/telegreen
volumes
:
-
graphite_data:/opt/graphite/storage
environment
:
-
VIRTUAL_HOST=graphite.beia.switch
networks
:
-
web
-
graphite
grafana
:
restart
:
always
image
:
grafana/grafana
environment
:
-
GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_PASSWORD:-secret}
-
VIRTUAL_HOST=grafana.beia.switch
volumes
:
-
grafana_data:/var/lib/grafana
depends_on
:
-
graphite
networks
:
-
web
monitoring_server
:
image
:
salmant/ul_monitoring_server_container_image
ports
:
ports
:
-
"
8080:80"
-
"
8080:8080"
-
"
4242:4242"
-
"
4245:4245"
-
"
7199:7199"
-
"
7000:7000"
-
"
7001:7001"
-
"
9160:9160"
-
"
9042:9042"
-
"
8012:8012"
-
"
61621:61621"
environment
:
-
MONITORING_SERVER=monitoring_server
-
VIRTUAL_HOST=jcatascopia.beia.switch
-
VIRTUAL_PORT=8080
networks
:
-
asap
-
web
monitoring_adapter
:
restart
:
always
image
:
beia/monitoring_adapter
environment
:
environment
:
-
MYSQL_ROOT_PASSWORD=doesntmatter
-
GRAPHITE_SERVER=graphite
-
MYSQL_DATABASE=telegreen
-
MONITORING_PREFIX=eu.beia.switch
-
MYSQL_USER=telegreen
-
MONITORING_SERVER=${MONITORING_SERVER:-monitoring_server}
-
MYSQL_PASSWORD=password
-
MYSQL_HOST=telegreen_db
depends_on
:
depends_on
:
-
telegreen_db
-
graphite
-
monitoring_server
networks
:
networks
:
-
db
-
graphite
-
monitoring
-
data
-
external
-
asap
telegreen_db
:
data_collector
:
build
:
image
:
beia/data_collector
context
:
../software/database
image
:
beia/telegreen_db
environment
:
environment
:
-
MYSQL_ROOT_PASSWORD=doesntmatter
# - CONFIG=config
-
MYSQL_DATABASE=telegreen
-
STATSD_HOST=monitoring_adapter
-
MYSQL_USER=telegreen
depends_on
:
-
MYSQL_PASSWORD=password
# - config
-
MYSQL_HOST=telegreen_db
-
monitoring_adapter
networks
:
networks
:
-
db
# - config
-
monitoring
-
data
alerter
:
alerter
:
build
:
context
:
../software/samplegen
image
:
beia/alerter
command
:
-
"
/srv/beia/scripts/run-node.sh
/srv/beia/samplegen
app/AlerterApp.class.js"
image
:
beia/alerter
image
:
beia/alerter
environment
:
environment
:
-
MYSQL_ROOT_PASSWORD=doesntmatter
# - CONFIG=config
-
MYSQL_DATABASE=telegreen
-
STATSD_HOST=monitoring_adapter
-
MYSQL_USER=telegreen
-
VIRTUAL_HOST=alerter.beia.switch
-
MYSQL_PASSWORD=password
-
NOTIFICATION_SERVICE=notify
-
MYSQL_HOST=telegreen_db
depends_on
:
depends_on
:
-
telegreen_db
-
notify
# - config
networks
:
networks
:
-
db
# - config
-
external
-
web
samplegen
:
-
data
build
:
# config:
context
:
../software/samplegen
# image: beia/config_manager
image
:
beia/samplegen
# environment:
command
:
# - TOSCA_URL=${TOSCA_URL:-http://www.google.com}
-
"
/srv/beia/scripts/run-node.sh
/srv/beia/samplegen
app/SampleGeneratorApp.class.js"
# networks:
# - config
web
:
image
:
jwilder/nginx-proxy
ports
:
ports
:
-
"
8128:8000"
-
"
80:80/tcp"
environment
:
volumes
:
-
MYSQL_ROOT_PASSWORD=doesntmatter
-
/var/run/docker.sock:/tmp/docker.sock:ro
-
MYSQL_DATABASE=telegreen
-
MYSQL_USER=telegreen
-
MYSQL_PASSWORD=password
-
MYSQL_HOST=telegreen_db
depends_on
:
-
telegreen_db
networks
:
networks
:
-
db
-
web
-
external
beia_mon
:
notify_asterisk
:
build
:
# TODO: Add shared storage/volume for sounds
context
:
../software/monitoring
restart
:
always
image
:
beia/monitoring
image
:
dorinelfilip/ast13
depends_on
:
environment
:
-
telegreen
-
SIP_USERNAME=55025
-
telegreen_db
-
SIP_HOST=sip.clickphone.ro
-
SIP_PORT=${SIP_PORT:-26999}
-
SIP_SECRET=beiaSWITCH
-
SIP_EXTENSION=0310050728
-
SIP_PEERNAME=clickphone
-
ARI_USERNAME=${ARI_USERNAME:-admin}
-
ARI_SECRET=${ARI_SECRET:-changeme}
networks
:
-
notify_asterisk
notify
:
restart
:
always
image
:
dorinelfilip/notify
depends_on
:
-
notify_asterisk
-
notify_redis
networks
:
-
notify_asterisk
-
notify_redis
-
notify
environment
:
-
ARI_URL=${ARI_URL:-http://notify_asterisk:8088}
-
ARI_USERNAME=${ARI_USERNAME:-admin}
# Warning! Different ENV variable for notify & Asterisk
# TODO: Change
-
ARI_PASSWORD=${ARI_SECRET:-changeme}
-
REDIS_HOST=${REDIS_HOST:-notify_redis}
-
REDIS_PORT=${REDIS_PORT:-6379}
-
REDIS_PASSWORD=${REDIS_PASSWORD:-changeme}
-
DEFAULT_SIP=${DEFAULT_SIP:-${SIP_PEERNAME}}
ports
:
-
"
8001:80/tcp"
notify_redis
:
restart
:
always
image
:
redis:alpine
entrypoint
:
-
redis-server
-
"
--requirepass"
# Not the best way to do it, but it is nice since no modification
# of the container image is needed
-
${REDIS_PASSWORD:-changeme}
networks
:
networks
:
-
monitoring
-
notify_redis
-
external
volumes
:
-
redis_data:/data
networks
:
networks
:
db
:
notify_redis
:
external
:
notify_asterisk
:
monitoring
:
notify
:
\ No newline at end of file
data
:
web
:
graphite
:
asap
:
volumes
:
graphite_data
:
grafana_data
:
redis_data
:
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