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
...@@ -18,15 +18,17 @@ services: ...@@ -18,15 +18,17 @@ services:
-Dsap.jdbc.conn.url=jdbc:sap://172.16.1.160:39015/?databaseName=HXE#\ -Dsap.jdbc.conn.url=jdbc:sap://172.16.1.160:39015/?databaseName=HXE#\
-Dsap.hana.user=DEVUSER#\ -Dsap.hana.user=DEVUSER#\
-Dsap.hana.password=Giptmgr1" -Dsap.hana.password=Giptmgr1"
# -Dactivities.big.data.engine=bighana#\ # -Dactivities.big.data.engine=mongodb#\
# -Dactivities.activity.use.mongodb=true#\ # -Dactivities.activity.use.mongodb=true#\
# -Dactivities.big.data.engine=mongodb#\ # -Dactivities.big.data.engine=mongodb#\
# -Dactivities.analytics.engine=hanalytics#\ # -Dactivities.analytics.engine=hanalytics#\
# -Dds.sap.hana.url=35.156.55.64:8000#\ # -Dds.sap.hana.url=35.156.55.64:8000#\
# -Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconactivities=10000#\ # -Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconactivities=10000#\
USE_DEBUG: "yes" USE_DEBUG: "yes"
image: municipalitybank.com:5050/mcx/activities/sap-hana:2-7d2b5df image: municipalitybank.com:5050/mcx/activities:29-70c9556
# image: municipalitybank.com:5050/mcx/activities:26-c5521ab # image: municipalitybank.com:5050/mcx/activities/sap-hana:2-7d2b5df
#image: municipalitybank.com:5050/mcx/activities/sap-hana:1-edaa8f4
#image: municipalitybank.com:5050/mcx/activities:26-c5521ab
#image: municipalitybank.com:5050/mcx/activities:23-808af6e #image: municipalitybank.com:5050/mcx/activities:23-808af6e
# image: municipalitybank.com:5050/mcx/activities # image: municipalitybank.com:5050/mcx/activities
ports: ports:
...@@ -35,6 +37,24 @@ services: ...@@ -35,6 +37,24 @@ services:
- "8180:8000" - "8180:8000"
networks: networks:
- backend - backend
### ANALYTICS ###
analytics:
environment:
IPG_ENV_PARAMS: "-Dmongodb.port=27027#\
-Dds.mongodb.host=mongodb#\
-DconfigFile.location=/opt/mcx/config#\
-Dactivities.hostport=activities:50070#\
-Dpredictions.hostport=predictions:50065#\
-Dinfluxdb.hostport=influxdb:8086#\
-Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=20000"
USE_DEBUG: "yes"
image: municipalitybank.com:5050/mcx/analytics:1-65d52a0
ports:
- "50080:50080"
- "8182:8000"
networks:
- backend
### DS ### ### DS ###
ds: ds:
environment: environment:
...@@ -63,38 +83,49 @@ services: ...@@ -63,38 +83,49 @@ services:
###### transportation ################### ###### transportation ###################
transportation: transportation:
environment: environment:
IPG_ENV_PARAMS: "-DdemoMode=minneapolis,modiin,givatayim,san-jose#\ IPG_ENV_PARAMS: "-DconfigFile.location=/opt/mcx/config/config.properties#\
-Ddemo.changeRandomality=6#\
-DconfigFile.location=/opt/mcx/config/config.properties#\
-DconfigLocation=/opt/mcx/config/#\ -DconfigLocation=/opt/mcx/config/#\
-Dtransportation.updateTrafficLaneTimeout=30000#\ -Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=80000#\
-Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=30000#\ -Dserver.workers.threads=32#\
-Dds.ip=ds:50050#\ # -DmyHostName=server72#\
-Dtransportation.dsServer.address=ds:50050#\ -DmyAddress=transportation:50035#\
-Dtransportation.server.address=transportation:50035#\ -DmdeAddress=mde2:50041#\
-Dtransportation.mdeServer.address=mde:50040#\ -DdsAddress=ds:50050#\
-Dtransportation.mde2Server.address=mde2:50041#\ -DamAddressHttp=activities:50070#\
-Dtransportation.subscription.interval=60#\ -DamAddressMQ=activities:50072#\
-Dinfluxdb.hostport=influxdb:8086#\ -DamMaxBulkRequests=10#\
-Duser.timezone=Asia/Jerusalem#\ -DmqttServerAddress=mqtt:1883#\
-Dpubsub.host=mqtt#\ -DmetricsServerAddress=influxdb:8086#\
-Dpubsub.port=1883" -DmetricsUsername=root#\
-DmetricsPassword=giptmgrr#\
-DmetricsDbName=mcx_db#\
-DmetricsReportInterval=2#\
-DrequestDefaultPageSize=500#\
-DcityOfChicagoDomain=data.cityofchicago.org#\
-Dtransportation-public-transportation-chicago-vehicle_workerDiscoveryTimeout=60#\
-Dtransportation-public-transportation-chicago-vehicle_workerMaintenanceTimeout=60#\
-DcityOfChicagoDomainEmulated=172.16.1.72"
USE_DEBUG: "yes" USE_DEBUG: "yes"
image: municipalitybank.com:5050/mcx/transportation:20-1a4580b
# image: municipalitybank.com:5050/mcx/transportation:19-ecce348
# image: municipalitybank.com:5050/mcx/transportation:18-2da1950 image: municipalitybank.com:5050/mcx/transportation/2g:43-188ce19
# image: municipalitybank.com:5050/mcx/transportation:17-ec4f801 #image: municipalitybank.com:5050/mcx/transportation/2g:42-61f4ebd
# image: municipalitybank.com:5050/mcx/transportation:16-a1ecc08 #image: municipalitybank.com:5050/mcx/transportation/2g:41-6c765cf
# image: municipalitybank.com:5050/mcx/transportation:15-0efa750 #image: municipalitybank.com:5050/mcx/transportation/2g:40-1b1c2be
# image: municipalitybank.com:5050/mcx/transportation:12-b1b7268 #image: municipalitybank.com:5050/mcx/transportation/2g:39-b335e7f
# image: municipalitybank.com:5050/mcx/transportation:9-c254299 #image: municipalitybank.com:5050/mcx/transportation/2g:38-9abb531
#image: municipalitybank.com:5050/mcx/transportation/2g:37-34be9fc
#image: municipalitybank.com:5050/mcx/transportation/2g:36-cef9046
#image: municipalitybank.com:5050/mcx/transportation/2g:35-556d157
#image: municipalitybank.com:5050/mcx/transportation/2g:34-05de763
#image: municipalitybank.com:5050/mcx/transportation/2g:33-6cd418e
#image: municipalitybank.com:5050/mcx/transportation/2g:32-5af2571
#image: municipalitybank.com:5050/mcx/transportation/2g:31-5c065f3
networks: networks:
- backend - backend
ports: ports:
- "8300:8000" - "8300:8000"
- "50035:50035" - "50035:50035"
extra_hosts:
- "data.cityofchicago.org:172.16.1.72"
####### parking ################### ####### parking ###################
parking: parking:
environment: environment:
...@@ -106,30 +137,33 @@ services: ...@@ -106,30 +137,33 @@ services:
-Dds.IpAddress=ds:50050#\ -Dds.IpAddress=ds:50050#\
-Dds.ip=ds:50050#\ -Dds.ip=ds:50050#\
-Dmde.IpAddress=mde2:50041#\ -Dmde.IpAddress=mde2:50041#\
-Dpredictions.IpAddress=predictions:50065#\
-Dinfluxdb.hostport=influxdb:8086#\
-Ddemo.changeRandomality=30#\ -Ddemo.changeRandomality=30#\
-Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=30000" -Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=30000"
USE_DEBUG: "yes" USE_DEBUG: "yes"
image: municipalitybank.com:5050/mcx/parking:25-be99808 image: municipalitybank.com:5050/mcx/parking/2g:5-523ad29
#image: municipalitybank.com:5050/mcx/parking/2g:4-45d1635
# image: municipalitybank.com:5050/mcx/parking:28-d2290cf
# image: municipalitybank.com:5050/mcx/parking:27-b7c2a37
# image: municipalitybank.com:5050/mcx/parking:25-be99808
# image: municipalitybank.com:5050/mcx/parking:24-9c1969a # image: municipalitybank.com:5050/mcx/parking:24-9c1969a
# image: municipalitybank.com:5050/mcx/parking:23-8f59918 # image: municipalitybank.com:5050/mcx/parking:23-8f59918
# image: municipalitybank.com:5050/mcx/parking:22-14de052 # image: municipalitybank.com:5050/mcx/parking:7-a8c7fc9
# image: municipalitybank.com:5050/mcx/parking:16-c3069b2
# image: municipalitybank.com:5050/mcx/parking:9-6cec946
# image: municipalitybank.com:5050/mcx/parking:7-a8c7fc9
# image: municipalitybank.com:5050/mcx/parking:6-e184f20 # image: municipalitybank.com:5050/mcx/parking:6-e184f20
# image: 172.16.1.212:5050/mcx/parking:20-d72ebf # image: 172.16.1.212:5050/mcx/parking:20-d72ebf
ports: ports:
# - "8015:8000" - "8015:8000"
- "50055:50055" - "50055:50055"
networks: networks:
- backend - backend
## PUBLIC SFAETY ## PUBLIC SFAETY
public-safety: public-safety:
environment: environment:
IPG_ENV_PARAMS: "-DdemoMode=pedestrian@san-diego,minneapolis,modiin,chicago,givatayim,san-jose#\ IPG_ENV_PARAMS: "-DdemoMode=pedestrian@san-diego,minneapolis,modiin,givatayim,san-jose#\
-DpublicSafety.updateCrosswalkTimeout=300000#\ -DpublicSafety.updateCrosswalkTimeout=300000#\
-Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=10000#\ -Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=30000#\
-DconfigFile.location=/opt/mcx/config/config.properties#\ -DconfigFile.location=/opt/mcx/config/config.properties#\
-DpublicSafety.server.address=public-safety:50005#\ -DpublicSafety.server.address=public-safety:50005#\
-Dredis.host=redis#\ -Dredis.host=redis#\
...@@ -143,19 +177,101 @@ services: ...@@ -143,19 +177,101 @@ services:
-DpublicSafety.mdeServer.address=mde:50040#\ -DpublicSafety.mdeServer.address=mde:50040#\
-DpublicSafety.mde2Server.address=mde2:50041" -DpublicSafety.mde2Server.address=mde2:50041"
USE_DEBUG: "yes" USE_DEBUG: "yes"
image: municipalitybank.com:5050/mcx/public-safety:38-4b8fd57
image: municipalitybank.com:5050/mcx/public-safety:45-248574e
# image: municipalitybank.com:5050/mcx/public-safety:43-e083d6a
# image: municipalitybank.com:5050/mcx/public-safety:38-4b8fd57
# image: municipalitybank.com:5050/mcx/public-safety:35-bb9469d # image: municipalitybank.com:5050/mcx/public-safety:35-bb9469d
# image: municipalitybank.com:5050/mcx/public-safety:23-2f0a378 # image: municipalitybank.com:5050/mcx/public-safety:34-0e8575c
# image: municipalitybank.com:5050/mcx/public-safety:22-0f6abc1 # image: municipalitybank.com:5050/mcx/public-safety:33-ed1f065
# image: municipalitybank.com:5050/mcx/public-safety:21-c14ead7 # image: municipalitybank.com:5050/mcx/public-safety:32-2a6f23f
# image: municipalitybank.com:5050/mcx/public-safety:19-3b62940 # image: municipalitybank.com:5050/mcx/public-safety:31-00ccfde
# image: 172.16.1.212:5050/mcx/public-safety:33-0a1fbb # image: municipalitybank.com:5050/mcx/public-safety:30-2f9f093
# image: municipalitybank.com:5050/mcx/public-safety:29-3a9159f
# image: municipalitybank.com:5050/mcx/public-safety:28-9535ee9
# image: municipalitybank.com:5050/mcx/public-safety:27-5fe8b96
ports: ports:
- "8100:8000" - "8100:8000"
- "50005:50005" - "50005:50005"
volumes: volumes:
- "/opt/mcx/config/repo/public-safety:/opt/mcx/config/repo/public-safety" - "/opt/mcx/config/repo/public-safety:/opt/mcx/config/repo/public-safety"
- "/opt/mcx/config/public-safety/sensors.chicago.json:/opt/mcx/config/sensors.chicago.json" - "/opt/mcx/config/publicSafety/sensors.chicago.json:/opt/mcx/config/sensors.chicago.json"
networks:
- backend
reports:
environment:
IPG_ENV_PARAMS: "-DconfigFile.location=/opt/mcx/config/config.properties#\
-DconfigLocation=/opt/mcx/config/#\
-DmdeAddress=mde2:50041#\
-DdsAddress=ds:50050#\
-Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=30000#\
-Dserver.workers.threads=16#\
-DamAddressHttp=activities:50070#\
-DamAddressMQ=activities:50072#\
-DamMaxBulkRequests=10#\
-DmqttServerAddress=mqtt:1883#\
-DmetricsServerAddress=mqtt:8086#\
-DmetricsUsername=root#\
-DmetricsPassword=giptmgrr#\
-DmetricsDbName=mcx_db#\
-DmetricsReportInterval=1#\
-Dreport-default-chicago-311report_workerInitialDelay=5#\
-Dreport-default-chicago-311report_workerDiscoveryTimeout=60#\
-Dreport-default-chicago-311report_workerMaintenanceTimeout=3600#\
-Dreport-default-chicago-511report_workerInitialDelay=5#\
-Dreport-default-chicago-511report_workerDiscoveryTimeout=60#\
-Dreport-default-chicago-511report_workerMaintenanceTimeout=3600#\
-Dreport-default-san-diego-311report_workerInitialDelay=10#\
-Dreport-default-san-diego-311report_workerDiscoveryTimeout=30#\
-Dreport-default-san-diego-311report_workerMaintenanceTimeout=3600#\
-Dreport-default-san-diego-511report_workerInitialDelay=10#\
-Dreport-default-san-diego-511report_workerDiscoveryTimeout=60#\
-Dreport-default-san-diego-511report_workerMaintenanceTimeout=3600#\
-Dreport-default-los-angeles-311report_workerInitialDelay=15#\
-Dreport-default-los-angeles-311report_workerDiscoveryTimeout=30#\
-Dreport-default-los-angeles-311report_workerMaintenanceTimeout=3600#\
-Dreport-default-los-angeles-511report_workerInitialDelay=15#\
-Dreport-default-los-angeles-511report_workerDiscoveryTimeout=60#\
-Dreport-default-los-angeles-511report_workerMaintenanceTimeout=3600#\
-Dreport-default-fremont-311report_workerInitialDelay=20#\
-Dreport-default-fremont-311report_workerDiscoveryTimeout=30#\
-Dreport-default-fremont-311report_workerMaintenanceTimeout=3600#\
-Dreport-default-fremont-511report_workerInitialDelay=20#\
-Dreport-default-fremont-511report_workerDiscoveryTimeout=60#\
-Dreport-default-fremont-511report_workerMaintenanceTimeout=3600#\
-Dreport-default-berlin-511report_active=true#\
-Dreport-default-berlin-511report_workerInitialDelay=25#\
-Dreport-default-berlin-511report_workerDiscoveryTimeout=60#\
-Dreport-default-berlin-511report_workerMaintenanceTimeout=3600#\
-Dreport-default-boston-311report_active=false#\
-Dreport-default-boston-511report_active=false"
USE_DEBUG: "yes"
image: municipalitybank.com:5050/mcx/report:25-d431dec
#image: municipalitybank.com:5050/mcx/report:24-dbd8638
#image: municipalitybank.com:5050/mcx/report:23-f79f30a
#image: municipalitybank.com:5050/mcx/report:22-1525adf
#image: municipalitybank.com:5050/mcx/report:21-6249f25
#image: municipalitybank.com:5050/mcx/report:13-4d18c66
#image: municipalitybank.com:5050/mcx/report:10-64f6a5a
#image: municipalitybank.com:5050/mcx/report:9-8c3c385
#image: municipalitybank.com:5050/mcx/report:8-9437fd1
#image: municipalitybank.com:5050/mcx/report:7-7c6a74b
#image: municipalitybank.com:5050/mcx/report:6-859dac7
ports:
- "8400:8000"
- "50075:50075"
networks: networks:
- backend - backend
ui-api: ui-api:
...@@ -174,9 +290,9 @@ services: ...@@ -174,9 +290,9 @@ services:
-Dpush.server.url=push-server:50000#\ -Dpush.server.url=push-server:50000#\
-Duse.schedular=true#\ -Duse.schedular=true#\
-Dcity.reports=san-diego,chicago#\ -Dcity.reports=san-diego,chicago#\
-Dconfig.public.address=ipgallery-mcz.com#\ -Dconfig.public.address=ipgallery-mcz.com:8072#\
-Drcs.send.message.url=http://srg/srg/chat/v1/standalone/sendmessage#\ -Drcs.send.message.url=http://srg/srg/chat/v1/standalone/sendmessage#\
-Dpubsub.url=wss://ipgallery-mcz.com/mqtt#\ -Dpubsub.url=wss://ipgallery-mcz.com:8072/mqtt#\
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9080" -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9080"
image: municipalitybank.com:5050/mcx/ui:13-a788e7f image: municipalitybank.com:5050/mcx/ui:13-a788e7f
ports: ports:
...@@ -267,7 +383,7 @@ services: ...@@ -267,7 +383,7 @@ services:
-DconfigLocation=/opt/mcx/config/ICPublicSafety/ -DconfigLocation=/opt/mcx/config/ICPublicSafety/
-Duse.iot.reporting=false" -Duse.iot.reporting=false"
USE_DEBUG: "yes" USE_DEBUG: "yes"
image: municipalitybank.com:5050/mcx/public-safety/ic:29-9857b49 image: municipalitybank.com:5050/mcx/public-safety/ic:29-9857b49
# image: municipalitybank.com:5050/mcx/public-safety/ic:27-28613d2 # image: municipalitybank.com:5050/mcx/public-safety/ic:27-28613d2
# image: 172.16.1.212:5050/mcx/public-safety:ic-20-17603423ab703d89765f19636ba71dc98b81e616 # image: 172.16.1.212:5050/mcx/public-safety:ic-20-17603423ab703d89765f19636ba71dc98b81e616
# image: 172.16.1.212:5050/mcx/public-safety:ic-19-9fb286e80940947addfeb342169e44f20f7134ab # image: 172.16.1.212:5050/mcx/public-safety:ic-19-9fb286e80940947addfeb342169e44f20f7134ab
...@@ -277,15 +393,23 @@ services: ...@@ -277,15 +393,23 @@ services:
- backend - backend
## COM SERVICE ## COM SERVICE
comm-service: comm-service:
image: municipalitybank.com:5050/mcx/comm-service:1-4-sync-cb image: municipalitybank.com:5050/mcx/comm-service:34-946d2a4
# image: municipalitybank.com:5050/mcx/comm-service:33-e1a2554
# image: municipalitybank.com:5050/mcx/comm-service:32-57a77f9
# image: municipalitybank.com:5050/mcx/comm-service:1-4-sync-cb
# image: municipalitybank.com:5050/mcx/comm-service:31-1db2fe3
# image: municipalitybank.com:5050/mcx/comm-service:latest # image: municipalitybank.com:5050/mcx/comm-service:latest
restart: on-failure restart: on-failure
privileged: true
environment: environment:
PARGS: "-m server -p 50000 -s id#rest#http" PARGS: "-m client -p 50000 -s id#rest#http"
# PARGS: "-m server -p 50000 -s id#rest#http"
log4cpp.console: "yes" log4cpp.console: "yes"
flushEveryLog: "yes" flushEveryLog: "yes"
ports: ports:
- "50060:50060" - "50060:50060"
volumes:
- "/tmp/corefiles:/tmp/corefiles"
networks: networks:
- backend - backend
###### mde ################### ###### mde ###################
...@@ -314,8 +438,8 @@ services: ...@@ -314,8 +438,8 @@ services:
mde2: mde2:
environment: environment:
ENV_PARAMS_COMMON: "-Dredis.host=redis#\ ENV_PARAMS_COMMON: "-Dredis.host=redis#\
-Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=10000" -Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=80000"
ENV_PARAMS_apiHandler: "-DconfigFile.location=/opt/mcx/config/apiHandler/config.properties#\ ENV_PARAMS_apiHandler: "-DconfigFile.location=/opt/mcx/config/apiHandler/config.properties#\
-DconfigLocation=/opt/mcx/config/apiHandler" -DconfigLocation=/opt/mcx/config/apiHandler"
...@@ -324,38 +448,74 @@ services: ...@@ -324,38 +448,74 @@ services:
ENV_PARAMS_httpAdapter: "-DconfigFile.location=/opt/mcx/config/httpAdapter/config.properties#\ ENV_PARAMS_httpAdapter: "-DconfigFile.location=/opt/mcx/config/httpAdapter/config.properties#\
-DconfigLocation=/opt/mcx/config/httpAdapter#\ -DconfigLocation=/opt/mcx/config/httpAdapter#\
-Ddomain_comsrv=comm-service:50060#\ -Ddomain_comsrv=comm-service:50060#\
-Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=30000#\ -Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=80000#\
-Dwebsocket_url=ws://172.16.1.80:8053/events" -Dserver.worker.threads=8#\
-D511Key=AujA4G2cdvbMJzIYtxaEHiEHCbw07IaQ-ED5rLUV1zoSK24gkJFrm6sJbBBji-2m#\
-Dwebsocket_url=ws://172.16.1.72:8053/events"
ENV_PARAMS_asnAdapter: "-DconfigFile.location=/opt/mcx/config/asnAdapter/config.properties#\
-DconfigLocation=/opt/mcx/config/asnAdapter#\
-Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=80000"
# -Dwebsocket_url=wss://ic-websocket-service.run.aws-usw02-pr.ice.predix.io/events
DEBUG_httpAdapter: "yes" DEBUG_httpAdapter: "yes"
ENV_PARAMS_apiService: "-DconfigFile.location=/opt/mcx/config/apiService/config.properties#\ ENV_PARAMS_apiService: "-DconfigFile.location=/opt/mcx/config/apiService/config.properties#\
-DconfigLocation=/opt/mcx/config/apiService/#\ -DconfigLocation=/opt/mcx/config/apiService/#\
-Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=30000#\ -Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=80000#\
-Dserver.worker.threads=8#\
-Dredis.host=redis#\ -Dredis.host=redis#\
-DloginUserName=ipgallery#\ -DloginUserName=ipgallery#\
-DloginPassword=1PGall3ry#\ -DloginPassword=1PGall3ry#\
-Dsan-jose_loginUsername=operator24@cdp.com#\ -Dsan-jose_loginUsername=ipg.test@devnet.com#\
-Dsan-jose_loginPassword=IzhyTmdhc1R6[BASE64]#\ -Dsan-jose_loginPassword=@iptMgr1#\
-Dsan-jose_loginClientId=a27b18484c3c4e08a7c193e42c639347#\ -Dsan-jose_loginClientId=Bpw8qejWXVQur3n6YAdqQAYtd94a#\
-Dsan-jose_loginClientSecret=b863de8f453c4a05A88126F45B958CF1" -Dsan-jose_loginClientSecret=nOZd6gw9_ORlJcZkgRifzMB6nzQa"
DEBUG_apiService: "yes"
image: municipalitybank.com:5050/mcx/mde2:66-ba325d3
#image: municipalitybank.com:5050/mcx/mde2:65-e609963
#image: municipalitybank.com:5050/mcx/mde2:64-f0779d9
#image: municipalitybank.com:5050/mcx/mde2:63-51cf15e
#image: municipalitybank.com:5050/mcx/mde2:62-893a8ea
#image: municipalitybank.com:5050/mcx/mde2:61-004a3b8
#image: municipalitybank.com:5050/mcx/mde2:60-fd93f13
#image: municipalitybank.com:5050/mcx/mde2:59-e9f9617
#image: municipalitybank.com:5050/mcx/mde2:58-f221e2b
#image: municipalitybank.com:5050/mcx/mde2:57-fb217ef
#image: municipalitybank.com:5050/mcx/mde2:56-a419ff2
#image: municipalitybank.com:5050/mcx/mde2:55-ca3f526
#image: municipalitybank.com:5050/mcx/mde2:54-f12f28d
#image: municipalitybank.com:5050/mcx/mde2:53-14d7070
#image: municipalitybank.com:5050/mcx/mde2:52-de8d583
#image: municipalitybank.com:5050/mcx/mde2:51-9f3016f
#image: municipalitybank.com:5050/mcx/mde2:50-0bf8222
#image: municipalitybank.com:5050/mcx/mde2:49-7344b4c
#image: municipalitybank.com:5050/mcx/mde2:48-46f0e75
#image: municipalitybank.com:5050/mcx/mde2:47-1ddf998
#image: municipalitybank.com:5050/mcx/mde2:46-a6dfc32
#image: municipalitybank.com:5050/mcx/mde2:45-8ac783a
#image: municipalitybank.com:5050/mcx/mde2:44-f5f35dc
#image: municipalitybank.com:5050/mcx/mde2:43-47d2997
#image: municipalitybank.com:5050/mcx/mde2:42-9983dd5
#image: municipalitybank.com:5050/mcx/mde2:41-1f6eb92
#image: municipalitybank.com:5050/mcx/mde2:40-f433118
#image: municipalitybank.com:5050/mcx/mde2:39-81d7df0
#image: municipalitybank.com:5050/mcx/mde2:38-4530a2b
#image: municipalitybank.com:5050/mcx/mde2:36-670c8b6
#image: municipalitybank.com:5050/mcx/mde2:35-4d907d1
DEBUG_apiService: "yes"
image: municipalitybank.com:5050/mcx/mde2:20-7571266
#image: municipalitybank.com:5050/mcx/mde2:18-7fd3ca4
#image: municipalitybank.com:5050/mcx/mde2:8-50c28c6
#image: municipalitybank.com:5050/mcx/mde2:7-2188c62
#image: municipalitybank.com:5050/mcx/mde2:6-1b865d2
#image: municipalitybank.com:5050/mcx/mde2:5-ea91ef5
#image: municipalitybank.com:5050/mcx/mde2:4-36b09f9
#image: municipalitybank.com:5050/mcx/mde2:2-e9c7d03
ports: ports:
- "8040:8140" # apiHandler debug port - "8040:8140" # apiHandler debug port
- "8041:8141" # apiService debug port - "8041:8141" # apiService debug port
- "8042:8142" # httpAdapter debug port - "8042:8142" # httpAdapter debug port
- "8942:8942" # asnAdapter debug port
- "8043:8043" # admin debug port - "8043:8043" # admin debug port
- "50041:50041" # mde2(apiService) listening port - "50041:50041" # mde2(apiService) listening port
- "50042:50042" # mde2(httpAdapter) listening port - "50042:50042" # mde2(httpAdapter) listening port
- "50142:50142" # mde2(httpAdapter) listening port
- "50043:50043" # mde2(admin) listening port - "50043:50043" # mde2(admin) listening port
networks: networks:
- backend - backend
...@@ -364,22 +524,28 @@ services: ...@@ -364,22 +524,28 @@ services:
mqtt: "mqtt:1883" mqtt: "mqtt:1883"
influxdb_hostport: "influxdb:8086" influxdb_hostport: "influxdb:8086"
influxdb_dbname: "mcx_db" influxdb_dbname: "mcx_db"
# callbackAddress: "https://ipgallery-mcz.com/predictions" #callbackAddress: "https://ipgallery-mcz.com:8072/predictions"
callbackAddress: "http://localhost:50065" callbackAddress: "http://localhost:50065"
# providerUrl: "http://localhost:50068/forecast" providerUrl: "http://localhost:50068/forecast"
#providerUrl: "https://api.unplu.gg/forecast"
forecastUrl: "http://localhost:5002/forecast" forecastUrl: "http://localhost:5002/forecast"
forecast_neurons: 50
dbhostport: "172.16.1.160:39015" dbhostport: "172.16.1.160:39015"
databaseName: "HXE" databaseName: "HXE"
databaseUser: "DEVUSER" databaseUser: "DEVUSER"
databasePassword: "Giptmgr1" databasePassword: "Giptmgr1"
forecast_neurons: 50
pypredict_num: 1 pypredict_num: 1
jspredict_num: 0 jspredict_num: 0
pyanomaly_num: 1 pyanomaly_num: 1
jssentiment_num: 0 jssentiment_num: 1
image: municipalitybank.com:5050/mcx/predictions:17-9dea507 image: municipalitybank.com:5050/mcx/predictions:22-6264540
# image: municipalitybank.com:5050/mcx/predictions:15-8be7d0e # image: municipalitybank.com:5050/mcx/predictions:21-7bb14dd
# image: municipalitybank.com:5050/mcx/predictions:20-f863f81
#image: municipalitybank.com:5050/mcx/predictions:17-9dea507
#image: municipalitybank.com:5050/mcx/predictions:15-8be7d0e
#image: municipalitybank.com:5050/mcx/predictions:10-e27f125 #image: municipalitybank.com:5050/mcx/predictions:10-e27f125
#image: municipalitybank.com:5050/mcx/predictions:13-ec95060
# image: municipalitybank.com:5050/mcx/predictions:14-c12d5c6
ports: ports:
- "50065:50065" - "50065:50065"
- "5000:5000" - "5000:5000"
......
...@@ -9,8 +9,7 @@ services: ...@@ -9,8 +9,7 @@ services:
- "/ext/mongodb/:/data/db" - "/ext/mongodb/:/data/db"
networks: networks:
- backend - backend
command: mongod --smallfiles # command: mongod --replSet Server_29
# command: mongod --nojournal
##### Redis ##### Redis
redis: redis:
image: redis image: redis
...@@ -68,10 +67,10 @@ services: ...@@ -68,10 +67,10 @@ services:
- "5601:5601" - "5601:5601"
- "9200:9200" - "9200:9200"
environment: environment:
ES_JAVA_OPTS: "-Xms512m -Xmx512m" ES_JAVA_OPTS: "-Xms4096m -Xmx4096m"
ES_HEAP_SIZE: "2048m"
volumes: volumes:
- "/ext/elasticsearch:/var/lib/elasticsearch" - "/ext/elasticsearch:/var/lib/elasticsearch"
- "/opt/mcx/config/kibana/kibana.yml:/opt/kibana/config/kibana.yml"
networks: networks:
- backend - backend
fluentd-es: fluentd-es:
...@@ -97,6 +96,8 @@ services: ...@@ -97,6 +96,8 @@ services:
INFLUXDB_DB: "mcx_db" INFLUXDB_DB: "mcx_db"
INFLUXDB_USER: "root" INFLUXDB_USER: "root"
INFLUXDB_USER_PASSWORD: "giptmgr" INFLUXDB_USER_PASSWORD: "giptmgr"
INFLUXDB_ADMIN_ENABLED: 'true'
INFLUXDB_ADMIN_BIND_ADDRESS: ":8083"
image: influxdb image: influxdb
ports: ports:
- "8084:8083" - "8084:8083"
...@@ -123,7 +124,7 @@ services: ...@@ -123,7 +124,7 @@ services:
INFLUXDB_NAME: "mcx_db" INFLUXDB_NAME: "mcx_db"
INFLUXDB_USER: "root" INFLUXDB_USER: "root"
INFLUXDB_PASS: "giptmgrr" INFLUXDB_PASS: "giptmgrr"
image: grafana/grafana:4.6.0 image: grafana/grafana
ports: ports:
- "3000:3000" - "3000:3000"
- "8048:80" - "8048:80"
......
...@@ -14,18 +14,26 @@ services: ...@@ -14,18 +14,26 @@ services:
UI_SERVER_HOSTPORT: "ui-api:8080" UI_SERVER_HOSTPORT: "ui-api:8080"
PUBLIC_SAFETY_IC_PORT_50004_TCP_ADDR: "public-safety-ic" PUBLIC_SAFETY_IC_PORT_50004_TCP_ADDR: "public-safety-ic"
SRG_SERVER_HOSTPORT: "srg:7681" 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:41-485bdaa
# image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:28-cc7ec12 # image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:40-5dfdcda
# image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:27-1af2844 # image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:39-ffad3bf
ports: # image: municipalitybank.com:5050/mcx/ui-web/control-center-v2:38-1048a5b
- 8090:80 # 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: volumes:
- "/opt/mcx/config/repo/public-safety:/usr/share/nginx/html/repo/public-safety" - "/opt/mcx/config/repo/public-safety:/usr/share/nginx/html/repo/public-safety"
networks: networks:
- backend - backend
### UI-WEB-CLIENT (NGINX + WEB) ### UI-WEB-CLIENT (NGINX + WEB)
ui-web-client: 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: municipalitybank.com:5050/mcx/ui-web:client-8-dea10d499084c4340ed08dd3bedc54a62e127965
# image: 172.16.1.212:5050/mcx/ui-web:client-25-fc74e8fe1b9cf7fbca90ad3b4da9fc3187bf4d1e # image: 172.16.1.212:5050/mcx/ui-web:client-25-fc74e8fe1b9cf7fbca90ad3b4da9fc3187bf4d1e
environment: environment:
...@@ -45,7 +53,8 @@ services: ...@@ -45,7 +53,8 @@ services:
### UI-WEB-DRIVER (NGINX + WEB) ### UI-WEB-DRIVER (NGINX + WEB)
ui-web-driver: ui-web-driver:
image: municipalitybank.com:5050/ipgallery.web/driver:2-8af1450 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: environment:
OTP_SERVER: "ipgallery-mcz.com:8099" OTP_SERVER: "ipgallery-mcz.com:8099"
KIBANA_SERVER: "elk:5601" KIBANA_SERVER: "elk:5601"
...@@ -60,8 +69,18 @@ services: ...@@ -60,8 +69,18 @@ services:
SRG_SERVER_HOSTPORT: "srg:7681" SRG_SERVER_HOSTPORT: "srg:7681"
networks: networks:
- backend - 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
front-end: front-end:
image: nginx
environment: environment:
OTP_SERVER: "ipgallery-mcz.com:8099" OTP_SERVER: "ipgallery-mcz.com:8099"
KIBANA_SERVER: "elk:5601" KIBANA_SERVER: "elk:5601"
...@@ -76,24 +95,47 @@ services: ...@@ -76,24 +95,47 @@ services:
PUBLIC_SAFETY_IC_PORT_50004_TCP_ADDR: "public-safety-ic" PUBLIC_SAFETY_IC_PORT_50004_TCP_ADDR: "public-safety-ic"
SRG_PORT_7681_TCP_ADDR: "srg" SRG_PORT_7681_TCP_ADDR: "srg"
SRG_PORT_7681_TCP_PORT: "7681" 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: ports:
- "443:443" - "443:443"
volumes: volumes:
- "/opt/mcz/config-letsencrypt/:/config:rw" - "/opt/mcz/config-letsencrypt/:/config"
- "/opt/mcz/config-letsencrypt/tmp:/var/tmp/nginx:rw" - "/opt/mcx/config/front-end:/etc/nginx/conf.d"
# extra_hosts: - "/tmp/log:/var/log/nginx"
# - "grafana:172.16.1.244"
networks: networks:
- backend - 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: networks:
backend: backend:
driver: bridge 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:
ui-api:
environment:
IPG_ENV_PARAMS: "-DdataLogic.IpAddress=data-logic:50045#\
-Dmongodb.port=27017#\
-Dds.ip.address=ds#\
-Dds.ip=ds:50050#\
-Dsrg.sip.hostport=srg:5076#\
-Dmcweb.sip.ip=172.16.1.72:5060#\
-Dmcweb.ip=172.16.1.72:8011#\
-Dredis.host=redis#\
-Dredis.port=6379#\
-DconfigFile.location=/opt/mcx/config#\
-Dmcz.files.location=/opt/mcz#\
-Dpush.server.url=push-server:50000#\
-Dcity.reports=chicago,san-diego#\
-Duse.schedular=true#\
-Dconfig.public.address=ipgallery-mcz.com:8072#\
-Drcs.send.message.url=http://srg/srg/chat/v1/standalone/sendmessage#\
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9080"
image: municipalitybank.com:5050/mcx/ui
ports:
- "8011:8080"
- "9443:8443"
- "9080:9080"
volumes:
- "/opt/mcz/user_images:/opt/mcz/user_images"
networks:
- backend
### DATA-LOGIC ###
data-logic:
environment:
IPG_ENV_PARAMS: "-Dds.IpAddress=ds:50050#\
-Dredis.host=redis"
image: municipalitybank.com:5050/mcx/data-logic
ports:
- "8110:8000"
- "50045:50045"
networks:
- backend
### PUSH-SERVER ###
push-server:
environment:
IPG_ENV_PARAMS: "-Dredis.host=redis"
USE_DEBUG: "yes"
image: municipalitybank.com:5050/mcx/push-server
ports:
- "8120:8000"
- "50000:50000"
networks:
- backend
### UI-WEB-CONTROL (NGINX + WEB)
ui-web-control:
environment:
OTP_SERVER: "otp:8081"
KIBANA_SERVER: "172.16.1.72:5601"
CAMERA_STREAM: "172.16.1.141:81"
CAMERA_API: "172.16.1.142:9090"
PUBLIC_SAFETY_CAMERA: "12.160.166.34:17000"
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:latest
volumes:
- "/opt/mcx/config/repo/public-safety:/usr/share/nginx/html/repo/public-safety"
networks:
- backend
depends_on:
- ui-api
### UI-WEB-CLIENT (NGINX + WEB)
ui-web-client:
environment:
OTP_SERVER: "otp:8081"
KIBANA_SERVER: "172.16.1.72:5601"
CAMERA_STREAM: "172.16.1.141:81"
CAMERA_API: "172.16.1.142:9090"
PUBLIC_SAFETY_CAMERA: "12.160.166.34:17000"
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/client:latest
networks:
- backend
depends_on:
- ui-api
- srg
### UI-WEB-DRIVER (NGINX + WEB)
ui-web-driver:
image: municipalitybank.com:5050/mcx/ui-web:driver-latest
environment:
OTP_SERVER: "otp:8081"
KIBANA_SERVER: "172.16.1.72:5601"
CAMERA_STREAM: "172.16.1.141:81"
CAMERA_API: "172.16.1.142:9090"
PUBLIC_SAFETY_CAMERA: "12.160.166.34:17000"
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
depends_on:
- ui-api
- srg
### SRG + COMM-LOGIC
comm-logic:
environment:
IPG_ENV_PARAMS: "-Dds.ip=ds:50050#\
-Dredis.host=redis#\
-Dsrg.sip.hostport=srg:5076#\
-Dexternal.host.port=172.16.1.72:5076#\
-Drcs.send.message.url=http://srg:8060/srg/chat/v1/standalone/sendmessage#\
-Dpush.server.bulk=20#\
-Dpush.server.url=push-server:50000#\
-Dserver.worker.threads=1"
USE_DEBUG: "yes"
image: municipalitybank.com:5050/mcx/comm-logic
ports:
- "8130:8000"
- "50030:50030"
networks:
- backend
srg:
environment:
IPSIPStack_HostName: 172.16.1.72
IPSIPStack_InternalHostNameComSrv: 0.0.0.0
IPSIPStack_NumOfPorts: 1
IPSIPStack_Port1Number: 5076
IPSIPStack_InternalPort1NumberComSrv: 5076
IPSIPStack_UseWebSocket: Y
IPSIPStack_WebSocketServerPortNumber: 7681
SessCntrl_RegisterPortNumber: 5076
SIPC_MyHostName: 172.16.1.72:8080
SIPC_MCServicesServerHost: http://172.16.1.72:50030/CommLogic/api/
image: municipalitybank.com:5050/mcx/mcx/srg
ports:
- "5076:5076/udp"
- "7681:7681"
- "8060:80"
privileged: true
volumes:
- "/tmp/srg:/cassi/log"
networks:
- backend
### DS ###
ds:
environment:
IPG_ENV_PARAMS: "-Dmongodb.port=27017#\
-Dds.mongodb.host=mongodb#\
-Dredis.port=6379#\
-Dredis.host=redis#\
-DconfigFile.location=/opt/mcx/config#\
-Dmcz.files.location=/opt/mcx#\
-Dds.orientdb.url=remote:orientdb#\
-Ddao.use.cache=false#\
-Ddao.es.activity.url=activityidx/activity#\
-Dserver.worker.threads=4#\
-Ddao.es.activity.hostport=172.16.1.72:9200"
# -Dds.sap.hana.url=35.156.55.64:8000#\
USE_DEBUG: "yes"
image: municipalitybank.com:5050/mcx/ds
ports:
- "8012:50050"
- "7443:8443"
- "8190:8000"
networks:
- backend
## PUBLIC SFAETY-IC
public-safety-ic:
environment:
IPG_ENV_PARAMS: "-DdemoMode=minneapolis,modiin,chicago#\
-Ddemo.changeRandomality=6#\
-Dds.IpAddress=ds:50050#\
-Dredis.host=redis#\
-DconfigFile.location=/opt/mcx/config/ICPublicSafety/config.properties#\
-DconfigLocation=/opt/mcx/config/ICPublicSafety/#\
-Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=30000#\
-Duse.iot.reporting=false"
USE_DEBUG: "yes"
image: municipalitybank.com:5050/mcx/public-safety/ic:27-28613d2
# image: municipalitybank.com:5050/mcx/public-safety:ic-latest
ports:
- "8400:8000"
- "50004:50004"
networks:
- backend
###### mde ###################
mde:
environment:
IPG_ENV_PARAMS: "-Dds.IpAddress=ds:50050#\
-Dredis.host=redis#\
-Dmde.cisco.username=operator14@cdp.com#\
-Dmde.cisco.password=R0AxOENicTQ=#\
-Dmde.cisco.clientId=a27b18484c3c4e08a7c193e42c639347#\
-Dmde.cisco.clientSecret=b863de8f453c4a05A88126F45B958CF1"
USE_DEBUG: "yes"
image: municipalitybank.com:5050/mcx/mde:12-fd8faf7
# image: municipalitybank.com:5050/mcx/mde
ports:
- "8200:8000"
- "50040:50040"
networks:
- backend
###### mde2 ###################
mde2:
environment:
ENV_PARAMS_COMMON: "-Dredis.host=redis#\
-Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=10000"
ENV_PARAMS_apiHandler: "-DconfigFile.location=/opt/mcx/config/apiHandler/config.properties#\
-DconfigLocation=/opt/mcx/config/apiHandler"
DEBUG_apiHandler: "yes"
ENV_PARAMS_httpAdapter: "-DconfigFile.location=/opt/mcx/config/httpAdapter/config.properties#\
-DconfigLocation=/opt/mcx/config/httpAdapter#\
-Ddomain_comsrv=comm-service:50060"
DEBUG_httpAdapter: "yes"
ENV_PARAMS_apiService: "-DconfigFile.location=/opt/mcx/config/apiService/config.properties#\
-DconfigLocation=/opt/mcx/config/apiService/#\
-Dredis.host=redis#\
-Dmde.cisco.username=devoperator11@cdp.com#\
-Dmde.cisco.password=ejlFK0g9OSRK#\
-Dmde.cisco.clientId=a27b18484c3c4e08a7c193e42c639347#\
-Dmde.cisco.clientSecret=b863de8f453c4a05A88126F45B958CF1"
DEBUG_apiService: "yes"
image: municipalitybank.com:5050/mcx/mde2:4-36b09f9
# image: municipalitybank.com:5050/mcx/mde2:3-4c649f0
# image: municipalitybank.com:5050/mcx/mde2
ports:
- "8040:8140" # apiHandler debug port
- "8041:8141" # apiService debug port
- "8042:8142" # httpAdapter debug port
- "8043:8043" # admin debug port
- "50041:50041" # mde2(apiService) listening port
- "50042:50042" # mde2(httpAdapter) listening port
- "50043:50043" # mde2(admin) listening port
networks:
- backend
## FRONT END
front-end:
environment:
OTP_SERVER: "otp:8081"
KIBANA_SERVER: "172.16.1.72:5601"
CAMERA_STREAM: "172.16.1.141:81"
CAMERA_API: "172.16.1.142:9090"
PUBLIC_SAFETY_CAMERA: "12.160.166.34:17000"
TRANSPORTATION_SERVER: "transportation:50035"
PARKING_SERVER: "parking:50055"
UI_API_PORT_8080_TCP_ADDR: "ui-api"
PUBLIC_SAFETY_IC_PORT_50004_TCP_ADDR: "public-safety-ic"
PUBLIC_SAFETY_IC_PORT_50004_TCP_PORT: "50004"
PUBLIC_SAFETY_PORT_50005_TCP_ADDR: "public-safety"
PUBLIC_SAFETY_PORT_50005_TCP_PORT: "50005"
SRG_PORT_7681_TCP_ADDR: "srg"
SRG_PORT_7681_TCP_PORT: "7681"
EMAIL: "avi.junowicz@ipgallery.com"
URL: "ipgallery-mcz.com:8072"
SUBDOMAINS: ""
TZ: "Israel"
image: municipalitybank.com:5050/mcx/front-end:19-d2f0bbb
#image: municipalitybank.com:5050/mcx/front-end
ports:
- "80:80"
- "443:443"
- "444:444"
privileged: true
volumes:
- "/opt/mcz/config-letsencrypt/:/config:rw"
networks:
- backend
depends_on:
- ui-api
- srg
## COM SERVICE
comm-service:
image: municipalitybank.com:5050/mcx/comm-service:1-4-sync-cb
environment:
PARGS: "-m server -p 50000 -s id#rest#http"
log4cpp.console: "yes"
flushEveryLog: "yes"
ports:
- "50060:50060"
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: ...@@ -9,4 +9,5 @@ services:
- "8053:8053" - "8053:8053"
volumes: volumes:
- "/opt/mcx/config/ws-event-simulator/events.json:/tmp/events.json" - "/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