fix(config): discover mounted yml config

This commit is contained in:
tiennm99 committed 2026-06-28 14:05:48 +07:00
1 parent 9a69030179
commit 08da9dcb84
4 files changed
+68 -4

No files matched your search

+3 -1
View File
@@ -8,7 +8,7 @@ Successor to the `*-keepalive` family: one binary, one image, six datastore adap
## Configuration
By default, keepalive reads `keepalive.yaml` from the current working directory. One deployment can keep any number of services alive.
By default, keepalive reads the first config file it finds: `keepalive.yaml`, `keepalive.yml`, `/keepalive.yaml`, then `/keepalive.yml`. One deployment can keep any number of services alive.
```yaml
interval: 1m
@@ -66,6 +66,8 @@ docker run -d --name keepalive --restart unless-stopped \
keepalive:local
```
If your host config file is named `keepalive.yml`, mount it to `/keepalive.yml` instead.
## Quick start (local)
```bash