Commit cee785fa by amir

new composers

parent 084d4957
version: '2'
services:
### 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#\
-Ddao.es.activity.hostport=elk:9200"
# -Dds.sap.hana.url=35.156.55.64:8000#\
# -Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=10000#\
USE_DEBUG: "yes"
image: 172.16.1.212:5050/mcx/ds:21-837052
ports:
- "8012:50050"
- "7443:8443"
- "8190:8000"
networks:
- backend
###### transportation ###################
transportation:
environment:
IPG_ENV_PARAMS: "-DdemoMode=minneapolis,modiin,chicago,givatayim#\
-Ddemo.changeRandomality=6#\
-DconfigFile.location=/opt/mcx/config/config.properties#\
-DconfigLocation=/opt/mcx/config/#\
-Dtransportation.updateTrafficLaneTimeout=30000#\
-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:6-ce3e15c
# image: municipalitybank.com:5050/mcx/transportation:4-e7b2bf7
# image: 172.16.1.212:5050/mcx/transportation:29-9207d8
networks:
- backend
# image: 172.16.1.212:5050/mcx/transportation:27-2bb5a9
ports:
- "8300:8000"
- "50035:50035"
####### 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#\
-Dds.IpAddress=ds:50050#\
-Dds.ip=ds:50050#\
-Dmde.IpAddress=mde:50040#\
-Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=30000"
USE_DEBUG: "yes"
image: 172.16.1.212:5050/mcx/parking:21-e0e2da
# image: 172.16.1.212:5050/mcx/parking:20-d72ebf
# ports:
# - "8015:8000"
# - "50055:50055"
networks:
- backend
## PUBLIC SFAETY
public-safety:
environment:
IPG_ENV_PARAMS: "-DdemoMode=minneapolis,modiin,chicago,givatayim,pedestrian@san-diego#\
-DpublicSafety.updateCrosswalkTimeout=300000#\
-Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=10000#\
-DconfigFile.location=/opt/mcx/config/config.properties#\
-Dredis.host=redis#\
-DpublicSafety.env.checkEventsDaysBack=180#\
-DconfigLocation=/opt/mcx/config/#\
-DpublicSafety.dsServer.address=ds:50050#\
-Dds.ip=ds:50050#\
-DpublicSafety.env.checkEventsInitialDelay=60#\
-DpublicSafety.env.checkEventsEveryPeriod=300#\
-DpublicSafety.mdeServer.address=mde:50040"
USE_DEBUG: "yes"
image: 172.16.1.212:5050/mcx/public-safety:34-4aa842
# image: 172.16.1.212:5050/mcx/public-safety:33-0a1fbb
ports:
- "8100:8000"
- "50005:50005"
volumes:
- "/opt/mcx/config/repo/public-safety:/opt/mcx/config/repo/public-safety"
networks:
- backend
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=ui-api:5060#\
-Dmcweb.ip=commetoo.com:8011#\
-Dredis.host=redis#\
-Dredis.port=6379#\
-DconfigFile.location=/opt/mcx/config#\
-Dmcz.files.location=/opt/mcz#\
-Dpush.server.url=push-server:50000#\
-Duse.schedular=true#\
-Dcity.reports=san-diego,chicago#\
-Dconfig.public.address=commetoo.com#\
-Drcs.send.message.url=http://srg/srg/chat/v1/standalone/sendmessage#\
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9080"
image: 172.16.1.212:5050/mcx/ui:30-4f7251
ports:
- "8011:8080"
- "9443:8443"
- "9080:9080"
volumes:
- "/opt/mcz/user_images:/opt/mcz/user_images"
networks:
- backend
depends_on:
- srg
### DATA-LOGIC ###
data-logic:
environment:
IPG_ENV_PARAMS: "-Dds.IpAddress=ds:50050#\
-Dredis.host=redis"
image: 172.16.1.212:5050/mcx/data-logic:4-b354b7
ports:
- "8110:8000"
- "50045:50045"
networks:
- backend
### PUSH-SERVER ###
push-server:
environment:
IPG_ENV_PARAMS: "-Dredis.host=redis"
USE_DEBUG: "yes"
image: 172.16.1.212:5050/mcx/push-server:7-5847b1
ports:
- "8120:8000"
- "50000:50000"
networks:
- backend
### SRG + COMM-LOGIC
comm-logic:
environment:
IPG_ENV_PARAMS: "-Dds.ip=ds:50050#\
-Dredis.host=redis#\
-Dsrg.sip.hostport=srg:5076#\
-Dexternal.host.port=commetoo.com: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: 172.16.1.212:5050/mcx/comm-logic:16-16e2b7
ports:
- "8130:8000"
- "50030:50030"
networks:
- backend
# log_driver: fluentd
srg:
environment:
IPSIPStack_HostName: srg
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: srg:8080
SIPC_MCServicesServerHost: http://comm-logic:50030/CommLogic/api/
# extra_hosts:
# - "pcscf.open-ims.test:0.0.0.0"
# - "scscf.open-ims.test:172.16.1.244"
image: 172.16.1.132:5000/ipgallery/srg
ports:
- "5076:5076/udp"
- "7681:7681"
- "8060:80"
privileged: true
volumes:
- "/tmp/srg:/cassi/log"
networks:
- backend
## PUBLIC SFAETY-IC
public-safety-ic:
environment:
IPG_ENV_PARAMS: "-Dds.IpAddress=ds:50050#\
-Dredis.host=redis#\
-DconfigFile.location=/opt/mcx/config/ICPublicSafety/config.properties
-DconfigLocation=/opt/mcx/config/ICPublicSafety/
-Duse.iot.reporting=false"
USE_DEBUG: "yes"
image: 172.16.1.212:5050/mcx/public-safety:ic-20-17603423ab703d89765f19636ba71dc98b81e616
# image: 172.16.1.212:5050/mcx/public-safety:ic-19-9fb286e80940947addfeb342169e44f20f7134ab
ports:
- "50004:50004"
networks:
- backend
## COM SERVICE
comm-service:
image: municipalitybank.com:5050/mcx/comm-service:1-4-sync-cb
# image: municipalitybank.com:5050/mcx/comm-service:latest
environment:
PARGS: "-m server -p 50000 -s id#rest#http"
log4cpp.console: "yes"
flushEveryLog: "yes"
ports:
- "50060:50060"
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: 172.16.1.212:5050/mcx/mde:19-3ebc7c
# image: 172.16.1.212:5050/mcx/mde:15-f25d9f
ports:
- "8200:8000"
- "50040:50040"
# extra_hosts:
# - "parking:178.62.63.127"
# - "transportation:178.62.63.127"
# - "public-safety:178.62.63.127"
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:2-e9c7d03
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
networks:
backend:
driver: bridge
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: opentripplanner/opentripplanner
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": {} }}'
networks:
backend:
driver: bridge
version: '2'
services:
### UI-WEB-CONTROL (NGINX + WEB)
ui-web-control:
environment:
OTP_SERVER: "otp:8081"
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-7-0538537b4a84ee2c77aba24926bc36b1a35ebcc9
#image: municipalitybank.com:5050/mcx/ui-web:control-center-4-bcf87bc0003a3ed214fabb45e684bb837bb593ef
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: "otp:8081"
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: "otp:8081"
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: "otp:8081"
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"
# PUBLIC_SAFETY_IC_PORT_50004_TCP_PORT: "50004"
EMAIL: "avi.junowicz@ipgallery.com"
URL: "commetoo.com"
SUBDOMAINS: ""
TZ: "Israel"
image: municipalitybank.com:5050/mcx/front-end:6-c78dab
ports:
- "80:80"
- "443:443"
- "444:444"
privileged: true
volumes:
- "/opt/mcz/config-letsencrypt/:/config:rw"
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