mirror of
https://github.com/fosrl/gerbil.git
synced 2026-03-22 12:54:30 -05:00
config_example.json doesn't seem recent #7
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DennisGaida on GitHub (Oct 20, 2025).
Describe the Bug
The https://github.com/fosrl/gerbil/blob/main/config_example.json seems to be outdated.
ipAddressfor example isn't referenced in the https://github.com/fosrl/gerbil/blob/main/README.md, but the CLI Args talks about anexample_config.jsonwhich doesn't exist.Environment
To Reproduce
See https://github.com/fosrl/gerbil/blob/main/config_example.json
Expected Behavior
I'd love a full config example to see all best-practices.
REMOTE_CONFIGsays "URL of the remote config server" - Aren't we talking Pangolin here? Can we say so in the documentation, e.g. "URL of the remote config server (e.g. Pangolin)"?reachableAtsays "How should the remote server reach Gerbil's API?" or "Endpoint of the HTTP server to tell remote config about" - Are we talking about remote servers as-innewt? Since the documentation and all examples talk about the local address (e.g. "http://gerbil:3004"), this isn't very "remote" to me. Also see above it is called the "remote config server", so I assume we are actually talking about Pangolin here and not newt.@oschwartz10612 commented on GitHub (Oct 20, 2025):
Hi Dennis! Thanks for bringing this up!
The config.json kind of predates this project a little bit. I had
visions of Gerbil being used outside of Pangolin as a simple wireguard
server and being able to use the config.json to configure the server.
Similar to wg-quick.
However I dont think this makes much sense anymore as Gerbil is very
tied in with Pangolin and really relies on it for functionality. I am
pretty tempted to just remove the json config all together.
Would love to hear if you or anyone else feels differently though!
@DennisGaida commented on GitHub (Oct 21, 2025):
Totally understandable the link to wg-quick. I don't need the config file at all, personally I am using environment vars for everything but secrets.
I have more of an axe to grind with newt since the only way to pass in docker secrets is the
CONFIG_FILEvariable. I'd love to be able to just have the ID & secret via docker secrets (or files if you will) instead of the whole config file. But that's an issue for newt not gerbil ;-)