Commit 0e2d85b1 by Amir Aharon

Merge remote-tracking branch 'origin/master'

parents ea9aecc0 7239f6f5
version: '2'
services:
##### Mongo
mongodb:
image: mongo
ports:
- "27027:27017"
volumes:
- "/ext/mongodb/:/data/db"
networks:
- backend
# command: mongod --replSet Server_29
##### Redis
redis:
image: redis
ports:
- "6389:6379"
volumes:
- "/ext/redis/conf/:/usr/local/etc/redis/redis.conf"
- "/ext/redis/:/data/"
networks:
- backend
### Orient
orientdb:
image: aquabiota/orientdb-alpine-spatial
# command: /orientdb/bin/server.sh -Xms512m -Xmx512m
restart: on-failure
ports:
- "2424:2424"
- "2480:2480"
environment:
ORIENTDB_ROOT_PASSWORD: 'giptmgr'
ORIENTDB_OPTS_MEMORY: "-Xms512m -Xmx512m"
volumes:
- /ext/orientdb/config:/orientdb/config
- /ext/orientdb/databases:/orientdb/databases
- /ext/orientdb/backup:/orientdb/backup
networks:
- backend
###Open Trip Planner
# otp:
# image: municipalitybank.com:5050/mcx/devops/otp
# ports:
# - "8082:8080"
# - "8083:8081"
# volumes:
# - /var/otp/graphs:/var/otp/graphs
# environment:
# JAVA_ARGS: "-Xms256m -Xmx512m"
# command: --autoScan --server
# networks:
# - backend
mqtt:
image: eclipse-mosquitto
ports:
- "8050:8080"
- "1885:1883"
volumes:
- /opt/mcx/config/mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf
# environment:
# JAVA_ARGS: "-Xms512m -Xmx512m"
networks:
- backend
elk:
image: sebp/elk
ports:
- "5601:5601"
- "9200:9200"
environment:
ES_JAVA_OPTS: "-Xms512m -Xmx512m"
volumes:
- "/ext/elasticsearch:/var/lib/elasticsearch"
networks:
- backend
fluentd-es:
image: openfirmware/fluentd-elasticsearch
ports:
- "24224:24224"
- "8888:8888"
links:
- elk:elasticsearch
networks:
- backend
# user: elastic, pass:changeme
# before running ,run: sudo sysctl -w vm.max_map_count=262144
# add follwing line in /etc/sysctl.conf
# vm.max_map_count = 262144
# create with geo json
#curl -XPUT "http://localhost:9200/activityidx" -d'{ "mappings": { "activity": { "properties": { "metaData.loc": { "type": "geo_point" } } } } }'
# view
# curl: curl -XGET "http://localhost:9200/activityidx/activity" -d'{ "query": { "match_all": {} }}'
influxdb:
environment:
INFLUXDB_GRAPHITE_ENABLED: 'true'
INFLUXDB_DB: "mcx_db"
INFLUXDB_USER: "root"
INFLUXDB_USER_PASSWORD: "giptmgr"
INFLUXDB_ADMIN_ENABLED: 'true'
INFLUXDB_ADMIN_BIND_ADDRESS: ":8083"
image: influxdb
ports:
- "8084:8083"
- "8086:8086"
- "2003:2003"
volumes:
- /ext/influxdb:/var/lib/influxdb
- /tmp/influxdb:/tmp
networks:
- backend
grafana:
environment:
GF_INSTALL_PLUGINS: "grafana-piechart-panel,briangann-gauge-panel"
GF_AUTH_ANONYMOUS_ENABLED: 'true'
# GF_AUTH_ANONYMOUS_ORG_NAME: 'Main Org'
GF_AUTH_ANONYMOUS_ORG_ROLE: 'Anonymous'
GF_SERVER_DOMAIN: 'ipgallery-mcz.com'
GF_SERVER_ROOT_URL: '%(protocol)s://%(domain)s:/grafana'
HTTP_USER: "root"
HTTP_PASS: "giptmgrr"
INFLUXDB_PROTO: http
INFLUXDB_HOST: influxdb
INFLUXDB_PORT: 8086
INFLUXDB_NAME: "mcx_db"
INFLUXDB_USER: "root"
INFLUXDB_PASS: "giptmgrr"
image: grafana/grafana
ports:
- "3000:3000"
- "8048:80"
depends_on:
- influxdb
volumes:
- /ext/grafana:/var/lib/grafana
#user/pass = admin/admin
networks:
- backend
networks:
backend:
driver: bridge
version: '2'
services:
### UI-WEB-CONTROL (NGINX + WEB)
ui-web-control:
environment:
OTP_SERVER: "ipgallery-mcz.com:8099"
KIBANA_SERVER: "elk:5601"
CAMERA_STREAM: "62.90.201.74:9081"
CAMERA_API: "62.90.201.74:9090"
PUBLIC_SAFETY_CAMERA: "24.172.188.211:16000"
TRANSPORTATION_SERVER: "transportation:50035"
PARKING_SERVER: "parking:50055"
PUBLIC_SAFETY_SERVER_HOSTPORT: "public-safety:50005"
UI_SERVER_HOSTPORT: "ui-api:8080"
PUBLIC_SAFETY_IC_PORT_50004_TCP_ADDR: "public-safety-ic"
SRG_SERVER_HOSTPORT: "srg:7681"
image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:15-c1f1193
#image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:14-1740888
#image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:12-f0a0cee
#image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:11-158b6c1
#image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:10-544ca4b
#image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:9-e1ac475
#image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:8-7bea113
#image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:5-a02469e
#image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:4-da44cda
#image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:3-64d3aa7
#image: municipalitybank.com:5050/mcx/ui-web/control-center-verticals:13-4f061a9
volumes:
- "/opt/mcx/config/repo/public-safety:/usr/share/nginx/html/repo/public-safety"
networks:
- backend
### UI-WEB-CLIENT (NGINX + WEB)
ui-web-client:
image: municipalitybank.com:5050/mcx/ui-web/client:21-dfcfa2d
#image: municipalitybank.com:5050/mcx/ui-web:client-8-dea10d499084c4340ed08dd3bedc54a62e127965
# image: 172.16.1.212:5050/mcx/ui-web:client-25-fc74e8fe1b9cf7fbca90ad3b4da9fc3187bf4d1e
environment:
OTP_SERVER: "ipgallery-mcz.com:8099"
KIBANA_SERVER: "elk:5601"
CAMERA_STREAM: "62.90.201.74:9081"
CAMERA_API: "62.90.201.74:9090"
PUBLIC_SAFETY_CAMERA: "24.172.188.211:16000"
TRANSPORTATION_SERVER: "transportation:50035"
PARKING_SERVER: "parking:50055"
PUBLIC_SAFETY_SERVER_HOSTPORT: "public-safety:50005"
UI_SERVER_HOSTPORT: "ui-api:8080"
PUBLIC_SAFETY_IC_PORT_50004_TCP_ADDR: "public-safety-ic"
SRG_SERVER_HOSTPORT: "srg:7681"
networks:
- backend
### UI-WEB-DRIVER (NGINX + WEB)
ui-web-driver:
# image: 172.16.1.212:5050/mcx/ui-web:driver-11-0a1f26cdf30b6734909f9c815a0b98c83b1a2c01
image: municipalitybank.com:5050/mcx/ui-web:driver-2-963a1f8b75479192f5de29eb797422e67102fdbb
environment:
OTP_SERVER: "ipgallery-mcz.com:8099"
KIBANA_SERVER: "elk:5601"
CAMERA_STREAM: "62.90.201.74:9081"
CAMERA_API: "62.90.201.74:9090"
PUBLIC_SAFETY_CAMERA: "24.172.188.211:16000"
TRANSPORTATION_SERVER: "transportation:50035"
PARKING_SERVER: "parking:50055"
PUBLIC_SAFETY_SERVER_HOSTPORT: "public-safety:50005"
UI_SERVER_HOSTPORT: "ui-api:8080"
PUBLIC_SAFETY_IC_PORT_50004_TCP_ADDR: "public-safety-ic"
SRG_SERVER_HOSTPORT: "srg:7681"
networks:
- backend
## FRONT END
front-end:
environment:
OTP_SERVER: "ipgallery-mcz.com:8099"
KIBANA_SERVER: "elk:5601"
CAMERA_STREAM: "62.90.201.74:9081"
CAMERA_API: "62.90.201.74:9090"
PUBLIC_SAFETY_CAMERA: "24.172.188.211:16000"
TRANSPORTATION_SERVER: "transportation:50035"
PARKING_SERVER: "parking:50055"
PUBLIC_SAFETY_PORT_50005_TCP_ADDR: "public-safety"
PUBLIC_SAFETY_PORT_50005_TCP_PORT: "50005"
UI_API_PORT_8080_TCP_ADDR: "ui-api"
PUBLIC_SAFETY_IC_PORT_50004_TCP_ADDR: "public-safety-ic"
SRG_PORT_7681_TCP_ADDR: "srg"
SRG_PORT_7681_TCP_PORT: "7681"
PGID: "911"
PUID: "911"
ONLY_SUBDOMAINS: "false"
URL: "ipgallery-mcz.com"
TZ: "Israel"
MAKE_CERT: "false"
image: municipalitybank.com:5050/mcx/front-end:22-aea4c68
# image: municipalitybank.com:5050/mcx/front-end:21-9c64e69
#image: municipalitybank.com:5050/mcx/front-end:20-c0d5a5d
# image: municipalitybank.com:5050/mcx/front-end:19-d2f0bbb
ports:
- "443:443"
volumes:
- "/opt/mcz/config-letsencrypt/:/config:rw"
- "/opt/mcz/config-letsencrypt/tmp:/var/tmp/nginx:rw"
# extra_hosts:
# - "grafana:172.16.1.244"
networks:
- backend
networks:
backend:
driver: bridge
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment