mirror of
https://github.com/tiennm99/keepalive.git
synced 2026-07-31 14:21:08 +00:00
31 lines
754 B
YAML
31 lines
754 B
YAML
# Optional defaults shared by every service.
|
|
interval: 1m
|
|
counter_key: counter
|
|
|
|
services:
|
|
- adapter: redis
|
|
config:
|
|
url: redis://default@redis-a.example.com:6379
|
|
|
|
- adapter: redis
|
|
config:
|
|
url: redis://default@redis-b.example.com:6379
|
|
|
|
- adapter: mongodb
|
|
config:
|
|
uri: mongodb+srv://user:pass@mongo-a.example.com
|
|
database: keepalive
|
|
collection: counter
|
|
|
|
- adapter: couchbase
|
|
config:
|
|
connection_string: couchbases://couchbase-a.example.com
|
|
username: user
|
|
password: pass
|
|
bucket_name: keepalive
|
|
scope_name: _default
|
|
collection_name: _default
|
|
ready_timeout: 2m
|
|
# Optional. Set only when this user can create a missing bucket.
|
|
# bucket_ram_quota_mb: 128
|