Commit 43016fae by Gil Sade

docker-compose for front-end + control-center + client

parent a848df41
ui-api:
environment:
IPG_ENV_PARAMS: "-DdataLogic.IpAddress=172.16.1.97:50045#\
-Dmongodb.port=27017#\
-Dds.ip.address=172.16.1.97#\
-Dds.ip=172.16.1.97:8012#\
-Dsrg.sip.hostport=172.16.1.97:5076#\
-Dmcweb.sip.ip=172.16.1.97:5060#\
-Dmcweb.ip=172.16.1.97:8011#\
-Dredis.host=172.16.1.97#\
-Dredis.port=6379#\
-DconfigFile.location=/opt/mcx/config#\
-Dmcz.files.location=/opt/mcz#\
-Dpush.server.url=172.16.1.97:50000#\
-Duse.schedular=true#\
-Dcity.reports=san-diago#\
-Dconfig.public.address=commetoo.com:443#\
-Drcs.send.message.url=http://172.16.1.97:8060/srg/chat/v1/standalone/sendmessage#\
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9080"
image: 172.16.1.212:5050/mcx/ui
ports:
- "8011:8080"
- "9443:8443"
- "9080:9080"
volumes:
- "/opt/mcz/user_images:/opt/mcz/user_images"
# log_driver: fluentd
# example for remote fluentd agent
# log_opt:
# fluentd-address: 172.16.1.97:24224
# fluentd-tag: ui-api
#public-safety:
# environment:
# IPG_ENV_PARAMS: "-Dds.IpAddress=172.16.1.97:8080#\
# -Dredis.host=172.16.1.97#\
# -Dinflux.hostport=172.16.1.244:8086"
# USE_DEBUG: "yes"
# image: 172.16.1.212:5050/mcx/public-safety
# ports:
# - "8100:8000"
# - "50005:50005"
# log_driver: fluentd
### DATA-LOGIC ###
data-logic:
environment:
IPG_ENV_PARAMS: "-Dds.IpAddress=172.16.1.97:8012#\
-Dredis.host=172.16.1.97"
image: 172.16.1.212:5050/mcx/data-logic
ports:
- "8110:8000"
- "50045:50045"
# log_driver: fluentd
### PUSH-SERVER ###
push-server:
environment:
IPG_ENV_PARAMS: "-Dredis.host=172.16.1.97"
USE_DEBUG: "yes"
image: 172.16.1.212:5050/mcx/push-server
ports:
- "8120:8000"
- "50000:50000"
# log_driver: fluentd
### UI-WEB-CONTROL (NGINX + WEB)
ui-web-control:
environment:
CAMERA_API: "172.16.1.140:9090"
image: 172.16.1.212:5050/mcx/ui-web:control-center-latest
# volumes:
# - "/home/gil/git/ui-web/target/app:/usr/share/nginx/html/app"
### UI-WEB-CLIENT (NGINX + WEB)
ui-web-client:
image: 172.16.1.212:5050/mcx/ui-web:client-latest
links:
- ui-api
- srg
# volumes:
# - "/home/gil/temp/log:/var/log/nginx"
# - "/home/gil/git/ui-web-client/target/app:/usr/share/nginx/html/app"
### SRG + COMM-LOGIC
comm-logic:
environment:
IPG_ENV_PARAMS: "-Dds.ip=172.16.1.97:8012#\
-Dredis.host=172.16.1.97#\
-Dsrg.sip.hostport=172.16.1.97:5076#\
-Dexternal.host.port=172.16.1.97:5076#\
-Drcs.send.message.url=http://172.16.1.97:8060/srg/chat/v1/standalone/sendmessage#\
-Dpush.server.bulk=20#\
-Dpush.server.url=172.16.1.97:50000#\
-Dserver.worker.threads=1"
USE_DEBUG: "yes"
image: 172.16.1.212:5050/mcx/comm-logic
ports:
- "8130:8000"
- "50030:50030"
# log_driver: fluentd
srg:
environment:
IPSIPStack_HostName: 172.16.1.97
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.97:8080
SIPC_MCServicesServerHost: http://172.16.1.97: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"
### DS ###
ds:
environment:
IPG_ENV_PARAMS: "-Dmongodb.port=27017#\
-Dds.mongodb.host=172.16.1.97#\
-Dredis.port=6379#\
-Dredis.host=172.16.1.97#\
-DconfigFile.location=/opt/mcx/config#\
-Dmcz.files.location=/opt/mcx#\
-Dds.orientdb.url=remote:172.16.1.97#\
-Dds.sap.hana.url=35.156.55.64:8000#\
-Ddao.use.cache=false#\
-Ddao.es.activity.url=activityidx/activity#\
-Ddao.es.activity.hostport=172.16.1.50:9200"
USE_DEBUG: "yes"
image: 172.16.1.212:5050/mcx/ds
ports:
- "8012:50050"
- "7443:8443"
- "8190:8000"
## FRONT END
front-end:
environment:
OTP_SERVER: "172.16.1.29:8081"
KIBANA_SERVER: "172.16.1.50:5601"
CAMERA_STREAM: "172.16.1.141:81"
CAMERA_API: "172.16.1.140:9090"
TRANSPORTATION_SERVER: "172.16.1.50:50035"
PARKING_SERVER: "172.16.1.50:50055"
EMAIL: "avi.junowicz@ipgallery.com"
URL: "commetoo.com"
SUBDOMAINS: "mcz"
TZ: "Israel"
image: 172.16.1.212:5050/mcx/front-end
ports:
- "8020:80"
- "8443:443"
- "8444:444"
links:
- ui-api
- srg
- ui-web-client
- ui-web-control
privileged: true
volumes:
- "/home/gil/temp/log:/var/log/nginx"
- "/opt/mcz/config-letsencrypt/:/config:rw"
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