Commit 7a7568ee by amir

new files

parent 70e6e8d8
version: '2'
services:
### DS ###
ds:
environment:
IPG_ENV_PARAMS: "-Dmongodb.port=27017#\
-Dds.mongodb.host=172.16.1.72#\
-Dredis.port=6379#\
-Dredis.host=172.16.1.72#\
-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
###### transportation ###################
transportation:
environment:
IPG_ENV_PARAMS: "-DdemoMode=minneapolis,modiin,chicago,givatayim,san-jose#\
-Ddemo.changeRandomality=6#\
-DconfigFile.location=/opt/mcx/config/config.properties#\
-DconfigLocation=/opt/mcx/config/#\
-Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=30000#\
-Dtransportation.updateTrafficLaneTimeout=3600000#\
-Dds.ip=172.16.1.72:8012#\
-Dtransportation.dsServer.address=172.16.1.72:8012#\
-Dtransportation.server.address=172.16.1.244:50035#\
-Dtransportation.mdeServer.address=172.16.1.72:50040#\
-Dtransportation.mde2Server.address=172.16.1.72:50041#\
-Dpubsub.host=172.16.1.244#\
-Dpubsub.port=1885"
USE_DEBUG: "yes"
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=san-diego,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#\
-Ddemo.changeRandomality=9#\
-Dpubsub.host=172.16.1.244#\
-Dpubsub.port=1885#\
-Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=10000"
USE_DEBUG: "yes"
image: municipalitybank.com:5050/mcx/parking
networks:
- backend
ports:
- "8015:8000"
- "50055:50055"
# volumes:
# - "/opt/mcx/config/parking/:/opt/mcx/config/"
## PUBLIC SFAETY
public-safety:
environment:
IPG_ENV_PARAMS: "-DdemoMode=pedestrian@san-diego,minneapolis,modiin,chicago,givatayim,pedestrian@san-jose#\
-DpublicSafety.updateCrosswalkTimeout=300000#\
-Dhystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=30000#\
# -Dhystrix.threadpool.default.maxQueueSize=1500#\
# -Dhystrix.threadpool.HystrixThreadPoolKey.maximumSize=1500#\
-DconfigFile.location=/opt/mcx/config/config.properties#\
-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#\
-DpublicSafety.env.checkEventsDaysBack=180"
# -DpublicSafety.env.forceCheckTimestamp=1492892647529#\
USE_DEBUG: "yes"
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"
- "/opt/mcx/config/PublicSafety:/opt/mcx/config/"
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=172.16.1.244: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:8097#\
-Dpubsub.url=wss://ipgallery-mcz.com:8244/mqtt#\
-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"
- "9085: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
### 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.244: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: 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: municipalitybank.com:5050/mcx/mcx/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: "-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-latest
ports:
- "8400:8000"
- "50004:50004"
volumes:
- "/opt/mcx/config/ICPublicSafety/:/opt/mcx/config/ICPublicSafety/"
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
ports:
- "8200:8000"
- "50040:50040"
# extra_hosts:
# - "parking:172.16.1.97"
# - "transportation:172.16.1.97"
# - "public-safety:172.16.1.97"
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: "-Xms512m -Xmx512m"
command: --autoScan --server
networks:
- backend
mqtt:
image: eclipse-mosquitto
ports:
- "8040: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: "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:
- "/home/amir/temp/log:/var/log/nginx"
- "/home/amir/git/ipgallery/ui-web/target:/usr/share/nginx/html"
- "/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
# volumes:
# - "/home/amir/temp/log:/var/log/nginx"
# - "/home/amir/git/ipgallery/ui-web/target:/usr/share/nginx/html"
### 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
# volumes:
# - "/home/gil/temp/log:/var/log/nginx"
# - "/home/gil/git/ui-web/target:/usr/share/nginx/html"
## 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:8244"
SUBDOMAINS: ""
TZ: "Israel"
PGID: 991
PUID: 991
image: municipalitybank.com:5050/mcx/front-end
ports:
- "8025:80"
- "8443:443"
- "8444:444"
# links:
# - ui-api
# - srg
# - public-safety-ic
# - ui-web-control
# - ui-web-client
# - ui-web-driver
privileged: true
volumes:
- "/tmp/log:/var/log/nginx"
- "/opt/mcz/config-letsencrypt/:/config:rw"
networks:
- backend
depends_on:
- ui-api
- srg
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