Commit aeaf116c by Avi Junowicz

updated working yml for all components

parent 9818d92f
Showing with 56 additions and 48 deletions
ui-api: ui-api:
environment: environment:
IPG_ENV_PARAMS: "-DdataLogic.IpAddress=172.16.1.244:50045#\ IPG_ENV_PARAMS: "-DdataLogic.IpAddress=172.16.1.29:50045#\
-Dmongodb.port=27017#\ -Dmongodb.port=27017#\
-Dds.ip.address=172.16.1.97#\ -Dds.ip.address=172.16.1.29#\
-Dds.ip=172.16.1.97:8080#\ -Dds.ip=172.16.1.29:8012#\
-Dsrg.sip.hostport=172.16.1.151:5076#\ -Dsrg.sip.hostport=172.16.1.29:5076#\
-Dmcweb.sip.ip=172.16.1.151:5060#\ -Dmcweb.sip.ip=172.16.1.29:5060#\
-Dmcweb.ip=172.16.1.151:8080#\ -Dmcweb.ip=172.16.1.29:8011#\
-Dredis.host=172.16.1.29#\
-Dredis.port=6379#\ -Dredis.port=6379#\
-DconfigFile.location=/opt/mcx/config#\ -DconfigFile.location=/opt/mcx/config#\
-Dmcz.files.location=/opt/mcx#\ -Dmcz.files.location=/opt/mcx#\
-Dpush.server.url=172.16.1.73:8080#\ -Dpush.server.url=172.16.1.29:50000#\
-Drcs.send.message.url=http://172.16.1.29:8060/srg/chat/v1/standalone/sendmessage#\
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9080" -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9080"
# env_file: # env_file:
# - ./common-resin.env # - ./common-resin.env
image: 172.16.1.212:5050/mcx/ui image: 172.16.1.212:5050/mcx/ui
ports: ports:
- "8010:8080" - "8011:8080"
- "8443:8443" - "9443:8443"
- "9080:9080" - "9080:9080"
log_driver: fluentd log_driver: fluentd
# depends_on:
# - "ds"
# example for remote fluentd agent # example for remote fluentd agent
log_opt: log_opt:
fluentd-address: 172.16.1.244:24224 fluentd-address: 172.16.1.29:24224
# fluentd-tag: ui-api # fluentd-tag: ui-api
public-safety: #public-safety:
environment: # environment:
IPG_ENV_PARAMS: "-Dds.IpAddress=172.16.1.97:8080#\ # IPG_ENV_PARAMS: "-Dds.IpAddress=172.16.1.29:8080#\
-Dredis.host=172.16.1.244#\ # -Dredis.host=172.16.1.29#\
-Dinflux.hostport=172.16.1.244:8086" # -Dinflux.hostport=172.16.1.29:8086"
# USE_DEBUG: yes ## USE_DEBUG: yes
image: 172.16.1.212:5050/mcx/public-safety # image: 172.16.1.212:5050/mcx/public-safety
ports: # ports:
- "8100:8000" # - "8100:8000"
- "50005:50005" # - "50005:50005"
log_driver: fluentd # log_driver: fluentd
### DATA-LOGIC ### ### DATA-LOGIC ###
data-logic: data-logic:
environment: environment:
IPG_ENV_PARAMS: "-DdataLogic.ds.IpAddress=172.16.1.97:8080#\ IPG_ENV_PARAMS: "-DdataLogic.ds.IpAddress=172.16.1.29:8012#\
-Dredis.host=172.16.1.244" -Dredis.host=172.16.1.29"
# USE_DEBUG: "yes" # USE_DEBUG: "yes"
image: 172.16.1.212:5050/mcx/data-logic image: 172.16.1.212:5050/mcx/data-logic
ports: ports:
...@@ -49,31 +53,34 @@ data-logic: ...@@ -49,31 +53,34 @@ data-logic:
### PUSH-SERVER ### ### PUSH-SERVER ###
push-server: push-server:
environment: environment:
IPG_ENV_PARAMS: "-Dredis.host=172.16.1.244" IPG_ENV_PARAMS: "-Dredis.host=172.16.1.29"
USE_DEBUG: yes # USE_DEBUG: yes
image: 172.16.1.212:5050/mcx/push-server image: 172.16.1.212:5050/mcx/push-server
ports: ports:
- "8120:8000" - "8120:8000"
- "50000:50000" - "50000:50000"
log_driver: fluentd log_driver: fluentd
### UI-WEB (NGINX + WEB) ### UI-WEB (NGINX + WEB)
ui-web: ui-web:
image: 172.16.1.212:5050/mcx/ui-web image: 172.16.1.212:5050/mcx/ui-web
ports: ports:
- "8040:80" - "80:80"
links: - "443:443"
- "444:444"
links:
- ui-api - ui-api
- public-safety - srg
# - public-safety
### SRG + COMM-LOGIC ### SRG + COMM-LOGIC
comm-logic: comm-logic:
environment: environment:
IPG_ENV_PARAMS: "-Dds.ip=172.16.1.97:8080#\ IPG_ENV_PARAMS: "-Dds.ip=172.16.1.29:8012#\
-Dredis.host=172.16.1.244#\ -Dredis.host=172.16.1.29#\
-Dsrg.sip.hostport=172.16.1.244:5076#\ -Dsrg.sip.hostport=172.16.1.29:5076#\
-Dexternal.host.port=172.16.1.244:5076#\ -Dexternal.host.port=172.16.1.29:5076#\
-Drcs.send.message.url=http://172.16.1.244:8050/srg/chat/v1/standalone/sendmessage#\ -Drcs.send.message.url=http://172.16.1.29:8060/srg/chat/v1/standalone/sendmessage#\
-Dpush.server.bulk=20#\ -Dpush.server.bulk=20#\
-Dpush.server.url=172.16.1.244:50000#\ -Dpush.server.url=172.16.1.29:50000#\
-Dserver.worker.threads=1" -Dserver.worker.threads=1"
USE_DEBUG: "yes" USE_DEBUG: "yes"
image: 172.16.1.212:5050/mcx/comm-logic image: 172.16.1.212:5050/mcx/comm-logic
...@@ -84,10 +91,12 @@ comm-logic: ...@@ -84,10 +91,12 @@ comm-logic:
log_driver: fluentd log_driver: fluentd
srg: srg:
environment: environment:
IPSIPStack_HostName: 172.16.1.244 IPSIPStack_HostName: 172.16.1.29
IPSIPStack_InternalHostNameComSrv: 172.16.1.244 IPSIPStack_InternalHostNameComSrv: 0.0.0.0
SIPC_MyHostName: 172.16.1.244:9999 IPSIPStack_UseWebSocket: Y
SIPC_MCServicesServerHost: http://172.16.1.244:50030/CommLogic/api/ IPSIPStack_WebSocketServerPortNumber: 7681
SIPC_MyHostName: 172.16.1.29:8080
SIPC_MCServicesServerHost: http://172.16.1.29:50030/CommLogic/api/
# extra_hosts: # extra_hosts:
# - "pcscf.open-ims.test:0.0.0.0" # - "pcscf.open-ims.test:0.0.0.0"
# - "scscf.open-ims.test:172.16.1.244" # - "scscf.open-ims.test:172.16.1.244"
...@@ -103,18 +112,18 @@ srg: ...@@ -103,18 +112,18 @@ srg:
ds: ds:
environment: environment:
IPG_ENV_PARAMS: "-Dmongodb.port=27017#\ IPG_ENV_PARAMS: "-Dmongodb.port=27017#\
-Dds.mongodb.host=172.16.1.244#\ -Dds.mongodb.host=172.16.1.29#\
-Dredis.port=6379#\ -Dredis.port=6379#\
-Dredis.host=172.16.1.244#\ -Dredis.host=172.16.1.29#\
-DconfigFile.location=/opt/mcx/config#\ -DconfigFile.location=/opt/mcx/config#\
-Dmcz.files.location=/opt/mcx#\ -Dmcz.files.location=/opt/mcx#\
-Dds.orientdb.url=remote:172.16.1.244#\ -Dds.orientdb.url=remote:172.16.1.29#\
-Ddao.use.cache=false#\ -Ddao.use.cache=false#\
-Ddao.es.activity.url=activityidx/activity#\ -Ddao.es.activity.url=activityidx/activity#\
-Ddao.es.activity.hostport=172.16.1.244:9200#\ -Ddao.es.activity.hostport=172.16.1.29:9200#\
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9080" -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9080"
image: 172.16.1.212:5050/mcx/ds image: 172.16.1.212:5050/mcx/ds
ports: ports:
- "8012:8080" - "8012:8080"
- "7443:8443" - "7443:8443"
- "9180:9080" - "9180:9080"
\ No newline at end of file
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