233 lines
5.7 KiB
JSON
233 lines
5.7 KiB
JSON
{
|
|
"services": [
|
|
{
|
|
"name": "identity-service",
|
|
"id": "identity-service-1",
|
|
"address": "192.168.1.111",
|
|
"port": 3000,
|
|
"tags": ["rwa", "api", "identity"],
|
|
"meta": {
|
|
"version": "1.0.0",
|
|
"environment": "production"
|
|
},
|
|
"checks": [
|
|
{
|
|
"http": "http://192.168.1.111:3000/api/v1/health",
|
|
"interval": "10s",
|
|
"timeout": "5s",
|
|
"deregister_critical_service_after": "1m"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "wallet-service",
|
|
"id": "wallet-service-1",
|
|
"address": "192.168.1.111",
|
|
"port": 3001,
|
|
"tags": ["rwa", "api", "wallet"],
|
|
"meta": {
|
|
"version": "1.0.0",
|
|
"environment": "production"
|
|
},
|
|
"checks": [
|
|
{
|
|
"http": "http://192.168.1.111:3001/api/v1/health",
|
|
"interval": "10s",
|
|
"timeout": "5s",
|
|
"deregister_critical_service_after": "1m"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "backup-service",
|
|
"id": "backup-service-1",
|
|
"address": "192.168.1.111",
|
|
"port": 3002,
|
|
"tags": ["rwa", "api", "backup", "mpc"],
|
|
"meta": {
|
|
"version": "1.0.0",
|
|
"environment": "production"
|
|
},
|
|
"checks": [
|
|
{
|
|
"http": "http://192.168.1.111:3002/health",
|
|
"interval": "10s",
|
|
"timeout": "5s",
|
|
"deregister_critical_service_after": "1m"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "planting-service",
|
|
"id": "planting-service-1",
|
|
"address": "192.168.1.111",
|
|
"port": 3003,
|
|
"tags": ["rwa", "api", "planting"],
|
|
"meta": {
|
|
"version": "1.0.0",
|
|
"environment": "production"
|
|
},
|
|
"checks": [
|
|
{
|
|
"http": "http://192.168.1.111:3003/api/v1/health",
|
|
"interval": "10s",
|
|
"timeout": "5s",
|
|
"deregister_critical_service_after": "1m"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "referral-service",
|
|
"id": "referral-service-1",
|
|
"address": "192.168.1.111",
|
|
"port": 3004,
|
|
"tags": ["rwa", "api", "referral"],
|
|
"meta": {
|
|
"version": "1.0.0",
|
|
"environment": "production"
|
|
},
|
|
"checks": [
|
|
{
|
|
"http": "http://192.168.1.111:3004/api/v1/health",
|
|
"interval": "10s",
|
|
"timeout": "5s",
|
|
"deregister_critical_service_after": "1m"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "reward-service",
|
|
"id": "reward-service-1",
|
|
"address": "192.168.1.111",
|
|
"port": 3005,
|
|
"tags": ["rwa", "api", "reward"],
|
|
"meta": {
|
|
"version": "1.0.0",
|
|
"environment": "production"
|
|
},
|
|
"checks": [
|
|
{
|
|
"http": "http://192.168.1.111:3005/api/v1/health",
|
|
"interval": "10s",
|
|
"timeout": "5s",
|
|
"deregister_critical_service_after": "1m"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "mpc-service",
|
|
"id": "mpc-service-1",
|
|
"address": "192.168.1.111",
|
|
"port": 3006,
|
|
"tags": ["rwa", "api", "mpc", "crypto"],
|
|
"meta": {
|
|
"version": "1.0.0",
|
|
"environment": "production"
|
|
},
|
|
"checks": [
|
|
{
|
|
"http": "http://192.168.1.111:3006/api/v1/health",
|
|
"interval": "10s",
|
|
"timeout": "5s",
|
|
"deregister_critical_service_after": "1m"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "leaderboard-service",
|
|
"id": "leaderboard-service-1",
|
|
"address": "192.168.1.111",
|
|
"port": 3007,
|
|
"tags": ["rwa", "api", "leaderboard"],
|
|
"meta": {
|
|
"version": "1.0.0",
|
|
"environment": "production"
|
|
},
|
|
"checks": [
|
|
{
|
|
"http": "http://192.168.1.111:3007/api/health",
|
|
"interval": "10s",
|
|
"timeout": "5s",
|
|
"deregister_critical_service_after": "1m"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "reporting-service",
|
|
"id": "reporting-service-1",
|
|
"address": "192.168.1.111",
|
|
"port": 3008,
|
|
"tags": ["rwa", "api", "reporting"],
|
|
"meta": {
|
|
"version": "1.0.0",
|
|
"environment": "production"
|
|
},
|
|
"checks": [
|
|
{
|
|
"http": "http://192.168.1.111:3008/api/v1/health",
|
|
"interval": "10s",
|
|
"timeout": "5s",
|
|
"deregister_critical_service_after": "1m"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "authorization-service",
|
|
"id": "authorization-service-1",
|
|
"address": "192.168.1.111",
|
|
"port": 3009,
|
|
"tags": ["rwa", "api", "authorization", "rbac"],
|
|
"meta": {
|
|
"version": "1.0.0",
|
|
"environment": "production"
|
|
},
|
|
"checks": [
|
|
{
|
|
"http": "http://192.168.1.111:3009/api/v1/health",
|
|
"interval": "10s",
|
|
"timeout": "5s",
|
|
"deregister_critical_service_after": "1m"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "admin-service",
|
|
"id": "admin-service-1",
|
|
"address": "192.168.1.111",
|
|
"port": 3010,
|
|
"tags": ["rwa", "api", "admin"],
|
|
"meta": {
|
|
"version": "1.0.0",
|
|
"environment": "production"
|
|
},
|
|
"checks": [
|
|
{
|
|
"http": "http://192.168.1.111:3010/api/v1/health",
|
|
"interval": "10s",
|
|
"timeout": "5s",
|
|
"deregister_critical_service_after": "1m"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "presence-service",
|
|
"id": "presence-service-1",
|
|
"address": "192.168.1.111",
|
|
"port": 3011,
|
|
"tags": ["rwa", "api", "presence", "realtime"],
|
|
"meta": {
|
|
"version": "1.0.0",
|
|
"environment": "production"
|
|
},
|
|
"checks": [
|
|
{
|
|
"http": "http://192.168.1.111:3011/api/v1/health",
|
|
"interval": "10s",
|
|
"timeout": "5s",
|
|
"deregister_critical_service_after": "1m"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|