Commit 992a70d9 by Avi Junowicz

new docker-compose for sap

parent a683a0c0
Showing with 150 additions and 0 deletions
ui-api:
environment:
IPG_ENV_PARAMS: "-DdataLogic.IpAddress=172.16.1.59:50045#\
-Dmongodb.port=27017#\
-Dds.ip.address=172.16.1.59#\
-Dds.ip=172.16.1.59:8012#\
-Dsrg.sip.hostport=172.16.1.59:5076#\
-Dmcweb.sip.ip=172.16.1.59:5060#\
-Dmcweb.ip=172.16.1.59:8011#\
-Dredis.host=172.16.1.59#\
-Dredis.port=6379#\
-DconfigFile.location=/opt/mcx/config#\
-Dmcz.files.location=/opt/mcz#\
-Dpush.server.url=172.16.1.59:50000#\
-Drcs.send.message.url=http://172.16.1.59:8060/srg/chat/v1/standalone/sendmessage#\
-Duse.schedular=true#\
-Dconfig.public.address=ipgallery-mcz.com:8059#\
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9080"
# env_file:
# - ./common-resin.env
image: 172.16.1.212:5050/mcx/ui
ports:
- "8011:8080"
- "9443:8443"
- "9080:9080"
log_driver: fluentd
# depends_on:
# - "ds"
# example for remote fluentd agent
log_opt:
fluentd-address: 172.16.1.59:24224
volumes:
- "/opt/mcz/user_images:/opt/mcz/user_images"
### DATA-LOGIC ###
data-logic:
environment:
IPG_ENV_PARAMS: "-Dds.IpAddress=172.16.1.59:8012#\
-Dredis.host=172.16.1.59"
USE_DEBUG: "yes"
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.59"
# USE_DEBUG: yes
image: 172.16.1.212:5050/mcx/push-server
ports:
- "8120:8000"
- "50000:50000"
log_driver: fluentd
### UI-WEB (NGINX + WEB)
ui-web:
environment:
OTP_SERVER: "172.16.1.59:8081"
KIBANA_SERVER: "172.16.1.59:5601"
CAMERA_STREAM: "172.16.1.141:81"
CAMERA_API: "172.16.1.140:9090"
EMAIL: "avi.junowicz@ipgallery.com"
URL: "ipgallery-mcz.com"
SUBDOMAINS: ""
TZ: "Israel"
image: 172.16.1.212:5050/mcx/ui-web:sap-latest
ports:
- "80:80"
- "443:443"
- "444:444"
links:
- ui-api
- srg
# - public-safety
privileged: true
volumes:
- "/opt/mcz/config-letsencrypt/:/config:rw"
### SRG + COMM-LOGIC
comm-logic:
environment:
IPG_ENV_PARAMS: "-Dds.ip=172.16.1.59:8012#\
-Dredis.host=172.16.1.59#\
-Dsrg.sip.hostport=172.16.1.59:5076#\
-Dexternal.host.port=172.16.1.59:5076#\
-Drcs.send.message.url=http://172.16.1.59:8060/srg/chat/v1/standalone/sendmessage#\
-Dpush.server.bulk=20#\
-Dpush.server.url=172.16.1.59:50000#\
-Dserver.worker.threads=1"
USE_DEBUG: "yes"
image: 172.16.1.212:5050/mcx/comm-logic
ports:
- "8130:8000"
- "50030:50030"
# - "5060/udp:5060/udp"
log_driver: fluentd
srg:
environment:
IPSIPStack_HostName: 172.16.1.59
IPSIPStack_InternalHostNameComSrv: 0.0.0.0
IPSIPStack_NumOfPorts: 1
IPSIPStack_Port1Number: 5076
SessCntrl_RegisterPortNumber: 5076
IPSIPStack_UseWebSocket: Y
IPSIPStack_WebSocketServerPortNumber: 7681
SIPC_MyHostName: 172.16.1.59:8080
SIPC_MCServicesServerHost: http://172.16.1.59: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.59#\
-Dredis.port=6379#\
-Dredis.host=172.16.1.59#\
-DconfigFile.location=/opt/mcx/config#\
-Dmcz.files.location=/opt/mcx#\
-Dds.orientdb.url=remote:172.16.1.59#\
-Ddao.use.cache=false#\
-Dds.sap.hana.url=35.156.55.64:8000#\
-Ddao.es.activity.url=activityidx/activity#\
-Ddao.es.activity.hostport=172.16.1.59:9200"
USE_DEBUG: "yes"
image: 172.16.1.212:5050/mcx/ds
ports:
- "8012:50050"
- "7443:8443"
- "9180:9080"
## Public Safety ####
#public-safety:
# environment:
# IPG_ENV_PARAMS: "-Dds.IpAddress=172.16.1.59:8012#\
# -Dredis.host=172.16.1.59#\
# -Duse.iot.reporting=false"
# USE_DEBUG: "yes"
# image: 172.16.1.212:5050/mcx/public-safety
# ports:
# - "50005:50005"
# volumes:
# - "/opt/mcx/config/PublicSafety/:/opt/mcx/config/PublicSafety/"
# log_driver: fluentd
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