Config: Look for garage.toml in the garage binary directory #830

Open
opened 2024-05-31 09:41:08 +00:00 by gnat · 0 comments

Similar to /etc/garage.toml, would be nice to have Garage also look for garage.toml in the same directory as garage.

Caddy uses this pattern and it's highly convenient for userspace deployments (a Caddyfile can be located beside the caddy binary).

Usecase example:

  • /home/user/project/garage
  • /home/user/project/garage.toml

Thanks for the awesome project!

Similar to **/etc/garage.toml**, would be nice to have Garage also look for **garage.toml** in the same directory as garage. [Caddy](https://caddyserver.com/) uses this pattern and it's highly convenient for userspace deployments (a Caddyfile can be located beside the caddy binary). Usecase example: * /home/user/project/garage * /home/user/project/garage.toml Thanks for the awesome project!
gnat changed title from Config: Load garage.toml if found in the garage binary directory to Config: Look for garage.toml in the garage binary directory 2024-05-31 09:42:29 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/garage#830
No description provided.