40 lines
928 B
YAML
40 lines
928 B
YAML
server:
|
|
grpc_port: "9000"
|
|
mode: "debug" # debug or release
|
|
|
|
database:
|
|
dsn: "host=localhost user=postgres password=postgres dbname=picpic port=5432 sslmode=disable"
|
|
|
|
redis:
|
|
addr: "localhost:6379"
|
|
password: ""
|
|
db: 0
|
|
|
|
google:
|
|
client_id: "your_google_client_id"
|
|
client_secret: "your_google_client_secret"
|
|
redirect_url: "http://localhost:8080/auth/google/callback"
|
|
state_ttl_minutes: 10
|
|
|
|
internal:
|
|
marker: "your_shared_internal_auth_marker"
|
|
|
|
email:
|
|
from: "no-reply@picpic.com"
|
|
|
|
aws:
|
|
region: "us-east-1"
|
|
bucket: "your-bucket-name"
|
|
access_key: "your_access_key"
|
|
secret_key: "your_secret_key"
|
|
|
|
render:
|
|
enable_metrics: true
|
|
enable_tracing: false
|
|
otlp_endpoint: ""
|
|
service_name: "stream-api-render"
|
|
|
|
# Agent runtime uses environment variables rather than this YAML file.
|
|
# Required: APP_INTERNAL_MARKER
|
|
# Optional: AGENT_SERVER (default localhost:9000), FORCE_NEW_ID, AGENT_IMAGE, HOST_DOCKER_SOCK
|