Commit 7c7931e3 by Adi Amir

keep lat configuration before switching to new UI

parent 2ce6d3af
version: '2'
services:
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": {} }}'
networks:
backend:
driver: bridge
......@@ -9,8 +9,7 @@ services:
- "/ext/mongodb/:/data/db"
networks:
- backend
command: mongod --smallfiles
# command: mongod --nojournal
# command: mongod --replSet Server_29
##### Redis
redis:
image: redis
......@@ -68,10 +67,10 @@ services:
- "5601:5601"
- "9200:9200"
environment:
ES_JAVA_OPTS: "-Xms512m -Xmx512m"
ES_JAVA_OPTS: "-Xms4096m -Xmx4096m"
ES_HEAP_SIZE: "2048m"
volumes:
- "/ext/elasticsearch:/var/lib/elasticsearch"
- "/opt/mcx/config/kibana/kibana.yml:/opt/kibana/config/kibana.yml"
networks:
- backend
fluentd-es:
......@@ -97,6 +96,8 @@ services:
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"
......@@ -123,7 +124,7 @@ services:
INFLUXDB_NAME: "mcx_db"
INFLUXDB_USER: "root"
INFLUXDB_PASS: "giptmgrr"
image: grafana/grafana:4.6.0
image: grafana/grafana
ports:
- "3000:3000"
- "8048:80"
......
......@@ -14,18 +14,26 @@ services:
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:28-cc7ec12
# image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:28-cc7ec12
# image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:27-1af2844
ports:
- 8090:80
image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:41-485bdaa
# image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:40-5dfdcda
# image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:39-ffad3bf
# image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:38-1048a5b
# image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:37-a980cf0
# image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:36-c942063
# image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:35-43efe5b
# image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:34-47bf4a9
# image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:33-9b31cf8
# image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:32-968ff76
# image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:30-8b4e45a
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:28-6d88ee7
# image: municipalitybank.com:5050/mcx/ui-web/client:27-d55dad3
# 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:
......@@ -45,7 +53,8 @@ services:
### UI-WEB-DRIVER (NGINX + WEB)
ui-web-driver:
image: municipalitybank.com:5050/ipgallery.web/driver:2-8af1450
# image: municipalitybank.com:5050/mcx/ui-web:driver-2-963a1f8b75479192f5de29eb797422e67102fdbb
# 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"
......@@ -60,8 +69,18 @@ services:
SRG_SERVER_HOSTPORT: "srg:7681"
networks:
- backend
## CONTROL-CENTER-NEW
control-center:
image: municipalitybank.com:5050/ipgallery.web/control-center:aac467e
# image: municipalitybank.com:5050/ipgallery.web/control-center:5-0dbc0f0
# image: municipalitybank.com:5050/ipgallery.web/control-center:3-0d46a26
# image: municipalitybank.com:5050/ipgallery.web/control-center:2-072d9d0
networks:
- backend
## FRONT END
front-end:
image: nginx
environment:
OTP_SERVER: "ipgallery-mcz.com:8099"
KIBANA_SERVER: "elk:5601"
......@@ -76,24 +95,47 @@ services:
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: "true"
image: municipalitybank.com:5050/mcx/front-end:25-4c6b60a
# image: municipalitybank.com:5050/mcx/front-end:24-ebb7806
# image: municipalitybank.com:5050/mcx/front-end:22-aea4c68
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"
- "/opt/mcz/config-letsencrypt/:/config"
- "/opt/mcx/config/front-end:/etc/nginx/conf.d"
- "/tmp/log:/var/log/nginx"
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:26-29ece50
## image: municipalitybank.com:5050/mcx/front-end:24-ebb7806
# 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
##### Mongo
mongodb:
image: mongo
ports:
- "27017:27017"
volumes:
- "/ext/mongodb/:/data/db"
command: mongod --replSet Server_72
##### Redis
redis:
image: redis
ports:
- "6379:6379"
volumes:
- "/ext/redis/conf/:/usr/local/etc/redis/redis.conf"
- "/ext/redis/:/data/"
### Orient
orientdb:
image: aquabiota/orientdb-alpine-spatial
ports:
- "2424:2424"
- "2480:2480"
environment:
ORIENTDB_ROOT_PASSWORD: 'giptmgr'
volumes:
- /ext/orientdb/config:/orientdb/config
- /ext/orientdb/databases:/orientdb/databases
- /ext/orientdb/backup:/orientdb/backup
###Open Trip Planner
otp:
image: opentripplanner/opentripplanner
ports:
- "8081:8080"
- "8082:8081"
volumes:
- /var/otp/graphs:/var/otp/graphs
command: --autoScan --server
version: '2'
services:
##### Mongo
mongodb:
image: mongo
ports:
- "27017:27017"
volumes:
- "/ext/mongodb/:/data/db"
networks:
- backend
# command: mongod --replSet Server_50
##### Redis
redis:
image: redis
ports:
- "6379:6379"
volumes:
- "/ext/redis/conf/:/usr/local/etc/redis/redis.conf"
- "/ext/redis/:/data/"
networks:
- backend
### Orient
orientdb:
image: aquabiota/orientdb-alpine-spatial
ports:
- "2424:2424"
- "2480:2480"
environment:
ORIENTDB_ROOT_PASSWORD: 'giptmgr'
volumes:
- /ext/orientdb/config:/orientdb/config
- /ext/orientdb/databases:/orientdb/databases
- /ext/orientdb/backup:/orientdb/backup
networks:
- backend
###Open Trip Planner
otp:
image: opentripplanner/opentripplanner
ports:
- "8081:8080"
- "8082:8081"
volumes:
- /var/otp/graphs:/var/otp/graphs
command: --autoScan --server
networks:
- backend
networks:
backend:
driver: bridge
version: '2'
services:
###### transportation ###################
transportation:
environment:
IPG_ENV_PARAMS: "-DdemoMode=minneapolis,modiin,chicago,givatayim,san-jose#\
-Ddemo.changeRandomality=9#\
-DconfigFile.location=/opt/mcx/config/config.properties#\
-DconfigLocation=/opt/mcx/config/#\
-Dtransportation.updateTrafficLaneTimeout=300000#\
-Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=30000#\
-Dds.ip=ds:50050#\
-Dtransportation.dsServer.address=ds:50050#\
-Dtransportation.server.address=transportation:50035#\
-Dtransportation.mdeServer.address=mde:50040#\
-Dtransportation.mde2Server.address=mde2:50041"
USE_DEBUG: "yes"
image: municipalitybank.com:5050/mcx/transportation:7-8307098
# image: municipalitybank.com:5050/mcx/transportation
ports:
- "8300:8000"
- "50035:50035"
# volumes:
# - "/opt/mcx/config/transportation/:/opt/mcx/config/"
networks:
- backend
####### parking ###################
parking:
environment:
IPG_ENV_PARAMS: "-DdemoMode=minneapolis,chicago,modiin,givatayim#\
-DconfigFile.location=/opt/mcx/config/config.properties#\
-DconfigLocation=/opt/mcx/config/#\
-Dredis.host=redis#\
-Dparking.server.address=parking:50055
-Dds.IpAddress=ds:50050#\
-Dds.ip=ds:50050#\
-Dmde.IpAddress=mde2:50041#\
-Ddemo.changeRandomality=9#\
-Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=30000"
USE_DEBUG: "yes"
image: municipalitybank.com:5050/mcx/parking:6-e184f20
ports:
- "8015:8000"
- "50055:50055"
networks:
- backend
## PUBLIC SFAETY
public-safety:
environment:
IPG_ENV_PARAMS: "-DdemoMode=minneapolis,modiin,chicago,givatayim,pedestrian@san-jose#\
-DpublicSafety.updateCrossWalkTimeout=70000#\
-Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=30000#\
-DconfigFile.location=/opt/mcx/config/config.properties#\
-DconfigLocation=/opt/mcx/config/#\
-DpublicSafety.server.address=public-safety:50005#\
-DpublicSafety.dsServer.address=ds:50050#\
-Dds.ip=ds:50050#\
-DpublicSafety.env.checkEventsInitialDelay=60#\
-DpublicSafety.env.checkEventsEveryPeriod=300#\
-DpublicSafety.mdeServer.address=mde:50040#\
-DpublicSafety.mde2Server.address=mde2:50041#\
-DpublicSafety.env.checkEventsDaysBack=180"
USE_DEBUG: "yes"
image: municipalitybank.com:5050/mcx/public-safety:18-de0e4df
# image: municipalitybank.com:5050/mcx/public-safety:10-0d930e3
# image: municipalitybank.com:5050/mcx/public-safety
ports:
- "8100:8000"
- "50005:50005"
volumes:
- "/opt/mcx/config/repo/public-safety:/opt/mcx/config/repo/public-safety"
networks:
- backend
networks:
backend:
driver: bridge
version: '2'
services:
polling-simulator:
environment:
file: "/tmp/polling.json"
p: 80
image: municipalitybank.com:5050/mcx/devops/polling-simulator
command: node app.js -p 80
ports:
- "80:80"
volumes:
- "/opt/mcx/config/polling-simulator/chicago-polling.json:/tmp/polling.json"
networks:
- backend
networks:
backend:
driver: bridge
......@@ -9,4 +9,5 @@ services:
- "8053:8053"
volumes:
- "/opt/mcx/config/ws-event-simulator/events.json:/tmp/events.json"
# - "/opt/mcx/config/ws-event-simulator/events-parking.json:/tmp/events.json"
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