feat!: replace password environment with Docker secret references
All checks were successful
Test and Release Module / test (push) Successful in 29s
Test and Release Module / release (push) Successful in 7s

This commit is contained in:
2026-09-16 15:01:15 -04:00
parent c3ad476b1a
commit 34ccc01c26
6 changed files with 72 additions and 21 deletions

View File

@@ -26,13 +26,15 @@ type DatabaseConfig struct {
Postgres *PostgresConfig
}
// PostgresConfig declares a PawSQL-managed PostgreSQL container. IdleTimeout
// starts after the last proxied client session closes. TrafficIdleTimeout
// applies to open sessions with no proxied bytes. Zero disables either timeout.
// PostgresConfig declares a PawSQL-managed PostgreSQL container. PasswordSecret
// is a short Barkfile reference resolved to a Docker secret named
// barkstack_<reference>. IdleTimeout starts after the last proxied client
// session closes. TrafficIdleTimeout applies to open sessions with no proxied
// bytes. Zero disables either timeout.
type PostgresConfig struct {
Image string
Volume string
PasswordEnv string
PasswordSecret string
IdleTimeout time.Duration
TrafficIdleTimeout time.Duration
}