# Defaults are overridden only by fields in this file. server: transport: "${GO_OMNI_TRANSPORT:-nethttp}" address: "${GO_OMNI_HTTP_ADDR:-127.0.0.1:8080}" enableLogger: true slowRequestThreshold: 500ms shutdownTimeout: 10s log: service: "example.com/userService" level: info format: json file: './var/log/server.log' rotation: enabled: true maxSizeMb: 100 maxBackups: 10 maxAgeDays: 7 compress: true redactKeys: [] storage: filesToken: "${GO_OMNI_FILES_TOKEN:-}" signingKey: "${GO_OMNI_STORAGE_SIGNING_KEY}" provider: local maxBytes: 33554432 contentTypes: ['text/plain', 'image/png', 'image/jpeg', 'application/pdf'] linkTtl: 5m requestTimeout: 30s root: './var/files' publicUrl: "${GO_OMNI_STORAGE_PUBLIC_URL:-http://127.0.0.1:8080/storage/object}" database: dsn: "${GO_OMNI_DB_DSN}" driver: mysql maxOpenConns: 10 maxIdleConns: 5 connMaxLifetime: 30m connMaxIdleTime: 5m pingTimeout: 5s # GO_OMNI_DB_DSN supplies the secret connection string.