tsk-8: Added docker support (#13)

Closes #8

Reviewed-on: phoenix/textsender-auth#13
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
phoenix
2025-11-05 16:50:14 +00:00
committed by phoenix
parent b627c832fa
commit ef39949e77
8 changed files with 141 additions and 4 deletions
-2
View File
@@ -27,11 +27,9 @@ type ConnectionInfo struct {
SslMode string
}
const Port = "9080"
const App_Name = "textsender_auth"
func (ci ConnectionInfo) Parse() string {
return fmt.Sprintf("postgres://%s:%s@%s:%d/%s?sslmode=%s", ci.Username, ci.Password, ci.Host, ci.Port, ci.Database, ci.SslMode)
}