Several fixes and features
All checks were successful
/ pre-commit (push) Successful in 1m8s

- Commit database transactions
- Listen to all interfaces by default
- Use logger in collerd
- Add docker-compose file with PostgreSQL

Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
Julien Riou 2025-08-26 12:28:32 +02:00
parent 01031a24ab
commit 7d7614637b
Signed by: jriou
GPG key ID: 9A099EDA51316854
7 changed files with 45 additions and 6 deletions

View file

@ -33,7 +33,7 @@ func NewConfig() *Config {
IDLength: 5,
PasswordLength: 16,
ExpirationInterval: 60, // 1 minute
ListenAddress: "127.0.0.1",
ListenAddress: "0.0.0.0",
ListenPort: 8080,
Expirations: []int{
300, // 5 minutes