2023.04.17 增加cmc环境配置信息。

This commit is contained in:
2023-04-17 17:51:52 +08:00
parent 0ac5dff4b5
commit a8cb399323
12 changed files with 1499 additions and 27 deletions

View File

@ -1,6 +1,6 @@
# This is the configuration file for the gpst prod1
include "dev_core.conf"
include "dev_actor.conf"
include "cmc_core.conf"
include "cmc_actor.conf"
slick {
dbs {

View File

@ -1,13 +1,13 @@
contact-points = [
"akka.tcp://ClusterSystem@192.168.2.164:2551",
"akka.tcp://ClusterSystem@192.168.2.164:2552"
"akka.tcp://ClusterSystem@172.16.88.19:2551",
"akka.tcp://ClusterSystem@172.16.88.19:2552"
]
play.akka.actor-system = "mkfleet-4g-actor-system"
akka {
remote.netty.tcp.port=45000
remote.netty.tcp.hostname=192.168.2.164
remote.netty.tcp.hostname=172.16.88.19
remote.netty.tcp.bind-port=45000
remote.netty.tcp.bind-hostname=0.0.0.0

View File

@ -95,7 +95,7 @@ slick {
profile = "slick.jdbc.PostgresProfile$"
db {
driver = "org.postgresql.Driver"
url = "jdbc:postgresql://192.168.2.239/fms_api"
url = "jdbc:postgresql://172.16.88.19/fms_core"
user = "postgres"
password = "password"
connectionTimeout = "10000"
@ -109,7 +109,7 @@ slick {
# Redis
jedis {
hosts = ["192.168.2.239:6379"]
hosts = ["172.16.88.19:6379"]
maxIdle = 80
maxTotal = 80
timeout = 3000
@ -124,7 +124,7 @@ jedis {
provider.kafka.producerNum=6
provider.kafka.producerClientID=fleet_api_prod
#kafka.server.address="b-1.mkfleet.k48ako.c2.kafka.ap-southeast-1.amazonaws.com:9092,b-2.mkfleet.k48ako.c2.kafka.ap-southeast-1.amazonaws.com:9092"
kafka.server.address="192.168.2.239:9092"
kafka.server.address="172.16.88.19:9092"
kafka.gps.topic=fleet-api-gps
kafka.notification.topic=fleet-api-notification
@ -132,9 +132,9 @@ kafka.sns.topic=fleet-api-sns
kafka.notification-mail.topic=fleet-api-mail
# fms_gps Server (waylens-fms-gps)
fms_gps.server.address = "http://192.168.2.164:9004"
fms_gps.server.address = "http://172.16.88.19:9004"
# notification push server (waylens-fms-notification)
provider.waylens.notificationPusher.endpoint="http://192.168.2.164:8060/fmsKafka"
provider.waylens.notificationPusher.endpoint="http://172.16.88.19:8060/fmsKafka"
# mptool server
@ -172,17 +172,17 @@ provider.att {
# clip server (waylens-fms-clip)
provider.backend {
endpoint="http://192.168.2.167:36458/v.1.0"
endpoint="http://172.16.88.129:36458/v.1.0"
key="dqy0S3MAdDLOp50R"
endpointForRemuxMp4 ="http://192.168.2.167:16587/v.1.0"
endpointForRemuxMp4 ="http://172.16.88.129:16587/v.1.0"
}
# AWS
provider.aws {
key = "fTbjUPzlfsxlue0O"
secret = "Gf6xyQie5QDH28y41f4mXuDzvez26cWg"
region = "cn-qingdao-1"
host = "http://192.168.2.239:9000"
key = "0YSQr57jQNAj8iX6"
secret = "l3j0x1UpCmcu8tNYp2WkArjYY1sQdU7U"
region = "vn-hanoi-1"
host = "http://172.16.88.129:9000"
s3 {
pathStyleAccessEnabled = true
@ -202,7 +202,7 @@ provider.aws {
# Wowza parameters
provider.wowza {
defaultPublishServer = "rtmp://47.104.8.46"
defaultPublishServer = "rtmp://42.96.42.10"
appName = "live_fleet"
publishUsername = "publishfleet"
publishPassword = "aEvlBNzXvlFnjx4d"
@ -211,18 +211,18 @@ provider.wowza {
playProtocol = "rtmp"
playProtocolCN = "rtmp"
audio{
host="47.104.8.46"
host="42.96.42.10"
port=1935
appName="live_audio",
publishUsername = "fleet_audio"
publishPassword = "waylensfleet2019"
}
privateIPMap {
#"47.104.8.46": "192.168.2.164"
#"42.96.42.10": "172.16.88.19"
}
domainMap {
"192.168.2.164": "47.104.8.46"
"172.16.88.19": "42.96.42.10"
}
}
@ -240,37 +240,37 @@ provider.wowza {
# clip storage & cloudfront
clip.storage.bucket = "/mkfleet/clip/"
clip.storage.address {
default = "https://minio.dev.eveus.com/mkfleet/clip/"
default = "https://minio.cmc.eveus.com/mkfleet/clip/"
}
# streaming storage & cloudfront
streaming.storage.bucket = "/mkfleet/live_video/"
streaming.storage.address {
default = "https://minio.dev.eveus.com/mkfleet/live_video/"
default = "https://minio.cmc.eveus.com/mkfleet/live_video/"
}
# firmware storage & cloudfront
firmware.storage.bucket= "/mkfleet/firmware"
firmware.storage.address {
default = "https://minio.dev.eveus.com/mkfleet/firmware/"
default = "https://minio.cmc.eveus.com/mkfleet/firmware/"
}
# gpsReport.storage cloudfront
gpsReport.storage.address {
default = "https://minio.dev.eveus.com/mkfleet/gps_data_report/"
default = "https://minio.cmc.eveus.com/mkfleet/gps_data_report/"
}
# fleetReport.storage cloudfront
fleetReport.storage.address {
default = "https://minio.dev.eveus.com/mkfleet/fleet_report/"
default = "https://minio.cmc.eveus.com/mkfleet/fleet_report/"
}
# log storage cloudfront
log.storage.address = "https://minio.dev.eveus.com/mkfleet/log/"
log.storage.address = "https://minio.cmc.eveus.com/mkfleet/log/"
# audio storage & cloudfront
audio.storage.bucket="mkfleet"
audio.storage.address="https://minio.dev.eveus.com/mkfleet/audio/"
audio.storage.address="https://minio.cmc.eveus.com/mkfleet/audio/"
clip.request.pendingTimeout = 604800