Files
gochat/backend/configs/config.production.yaml
rogee 4d684a71eb
Build and publish Docker images / Build and publish images (push) Successful in 2m10s
feat: geolocate anonymous widget visitors
2026-09-15 08:54:13 +08:00

41 lines
821 B
YAML

# GoChat production overrides. Secrets must come from the environment.
server:
mode: "release"
database:
dsn: >-
postgres://gochat:CHANGE_ME@postgres:5432/gochat_production?sslmode=disable
run_migrations: false
migrations_path: "/app/migrations"
redis:
dsn: "redis://:CHANGE_ME@redis:6379"
jwt:
secret: "CHANGE_ME"
allow_insecure_header_auth: false
search:
engine: "meilisearch"
host: "http://meilisearch:7700"
api_key: "CHANGE_ME"
log:
level: "info"
format: "json"
worker:
concurrency: 10
redis_stream_prefix: "gochat:jobs"
redis_consumer_group: "gochat-workers"
redis_block_timeout_s: 5
redis_sweep_interval_s: 30
storage:
provider: "local"
local_path: "/app/storage/uploads"
geoip:
# Set GOCHAT_GEOIP_DB_PATH to the read-only MMDB mount in production.
db_path: ""