freecar/api_srv
{
"name": "api",
"port": 8080,
"paseto": {
"pub_key": "YOUR_KEY",
"implicit": "YOUR-IMPLICIT"
},
"otel": {
"endpoint": ":4317"
},
"user_srv":{
"name": "user_srv"
},
"car_srv":{
"name": "car_srv"
},
"profile_srv":{
"name": "profile_srv"
},
"trip_srv":{
"name": "trip_srv"
}
}
freecar/user_srv
{
"name": "user_srv",
"paseto": {
"pub_key": "YOUR_KEY",
"implicit": "YOUR-IMPLICIT"
},
"mysql": {
"host": "127.0.0.1",
"port": 3306,
"user": "YOUR_USER",
"password": "YOUR_PASSWORD",
"db": "FreeCar",
"salt": "YOUR_SALT"
},
"otel": {
"endpoint": ":4317"
},
"wx_config":{
"app_id": "YOUR_ID",
"app_secret": "YOUR_SECRET"
},
"blob_srv":{
"name":"blob_srv"
}
}
freecar/blob_srv
{
"name": "blob_srv",
"mysql": {
"host": "127.0.0.1",
"port": 3306,
"user": "YOUR_USER",
"password": "YOUR_PASSWORD",
"db": "FreeCar",
"salt": "YOUR_SALT"
},
"redis": {
"host": "127.0.0.1",
"port": 6379
},
"minio": {
"endpoint": "127.0.0.1:9000",
"access_key_id": "YOUR_KEY",
"secret_access_key": "YOUR_SECRET",
"bucket":"freecar"
},
"otel": {
"endpoint": ":4317"
}
}
freecar/car_srv
{
"name": "car_srv",
"wsAddr":":9992",
"mongodb": {
"host": "127.0.0.1",
"port": 27017,
"user": "YOUR_USER",
"password": "YOUR_PASSWORD",
"db": "FreeCar",
"collection": "car"
},
"redis": {
"host": "127.0.0.1",
"port": 6379
},
"rabbitmq": {
"host": "127.0.0.1",
"port": 5672,
"user": "YOUR_USER",
"password": "YOUR_PASSWORD",
"exchange": "FreeCar"
},
"otel": {
"endpoint": ":4317"
},
"trip_srv": {
"name": "trip_srv"
}
}
freecar/profile_srv
{
"name": "profile_srv",
"mongodb": {
"host": "127.0.0.1",
"port": 27017,
"user": "YOUR_USER",
"password": "YOUR_PASSWORD",
"db": "FreeCar",
"collection": "car"
},
"redis": {
"host": "127.0.0.1",
"port": 6379
},
"ocr": {
"access_token": "YOUR_TOKEN"
},
"otel": {
"endpoint": ":4317"
},
"blob_srv": {
"name": "blob_srv"
}
}
freecar/trip_srv
{
"name": "trip_srv",
"mongodb": {
"host": "127.0.0.1",
"port": 27017,
"user": "YOUR_USER",
"password": "YOUR_PASSWORD",
"db": "FreeCar",
"collection": "car"
},
"otel": {
"endpoint": ":4317"
},
"car_srv": {
"name": "car_srv"
},
"profile_srv": {
"name": "profile_srv"
}
}