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'
services
:
telegreen
:
build
:
context
:
../software/telegreen
image
:
beia/telegreen
graphite
:
restart
:
always
image
:
vladwing/graphite
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
:
-
"
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
:
-
MYSQL_ROOT_PASSWORD=doesntmatter
-
MYSQL_DATABASE=telegreen
-
MYSQL_USER=telegreen
-
MYSQL_PASSWORD=password
-
MYSQL_HOST=telegreen_db
-
GRAPHITE_SERVER=graphite
-
MONITORING_PREFIX=eu.beia.switch
-
MONITORING_SERVER=${MONITORING_SERVER:-monitoring_server}
depends_on
:
-
telegreen_db
-
graphite
-
monitoring_server
networks
:
-
db
-
monitoring
-
external
telegreen_db
:
build
:
context
:
../software/database
image
:
beia/telegreen_db
-
graphite
-
data
-
asap
data_collector
:
image
:
beia/data_collector
environment
:
-
MYSQL_ROOT_PASSWORD=doesntmatter
-
MYSQL_DATABASE=telegreen
-
MYSQL_USER=telegreen
-
MYSQL_PASSWORD=password
-
MYSQL_HOST=telegreen_db
# - CONFIG=config
-
STATSD_HOST=monitoring_adapter
depends_on
:
# - config
-
monitoring_adapter
networks
:
-
db
-
monitoring
# - config
-
data
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
environment
:
-
MYSQL_ROOT_PASSWORD=doesntmatter
-
MYSQL_DATABASE=telegreen
-
MYSQL_USER=telegreen
-
MYSQL_PASSWORD=password
-
MYSQL_HOST=telegreen_db
# - CONFIG=config
-
STATSD_HOST=monitoring_adapter
-
VIRTUAL_HOST=alerter.beia.switch
-
NOTIFICATION_SERVICE=notify
depends_on
:
-
telegreen_db
-
notify
# - config
networks
:
-
db
-
external
samplegen
:
build
:
context
:
../software/samplegen
image
:
beia/samplegen
command
:
-
"
/srv/beia/scripts/run-node.sh
/srv/beia/samplegen
app/SampleGeneratorApp.class.js"
# - config
-
web
-
data
# config:
# image: beia/config_manager
# environment:
# - TOSCA_URL=${TOSCA_URL:-http://www.google.com}
# networks:
# - config
web
:
image
:
jwilder/nginx-proxy
ports
:
-
"
8128:8000"
environment
:
-
MYSQL_ROOT_PASSWORD=doesntmatter
-
MYSQL_DATABASE=telegreen
-
MYSQL_USER=telegreen
-
MYSQL_PASSWORD=password
-
MYSQL_HOST=telegreen_db
depends_on
:
-
telegreen_db
-
"
80:80/tcp"
volumes
:
-
/var/run/docker.sock:/tmp/docker.sock:ro
networks
:
-
db
-
external
beia_mon
:
build
:
context
:
../software/monitoring
image
:
beia/monitoring
depends_on
:
-
telegreen
-
telegreen_db
-
web
notify_asterisk
:
# TODO: Add shared storage/volume for sounds
restart
:
always
image
:
dorinelfilip/ast13
environment
:
-
SIP_USERNAME=55025
-
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
:
-
monitoring
-
external
-
notify_redis
volumes
:
-
redis_data:/data
networks
:
db
:
external
:
monitoring
:
\ No newline at end of file
notify_redis
:
notify_asterisk
:
notify
:
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