Service: sample Port: 12426 Databases: Driver: postgres Source: - host=db.example.internal user=sample_app password=change-me dbname=sample_prod port=5432 sslmode=require TimeZone=Asia/Shanghai # Redis cache example. Replace the password and host before using in production. Cache: redis://default:change-me@redis.example.internal:6379/0 # Enable microservice mode when this sample is deployed behind the service mesh. OnMicroService: false # Shared secret for microservice calls. Use a random value in real environments. SecretKey: change-me-to-a-random-string # Rpc: # fts: # Endpoint: https://api-v2.traingo.cn/fts/v2 # SecretKey: change-me-to-a-random-string # Tracing and performance monitoring example. # APM: # Platform: elasticAPM # Endpoint: http://127.0.0.1:14268/api/traces