feat: substitute environment variables in config file (#305)

* feat: use envsubst to substitute env variables in config file

* Remove output config to log

* Update readme
This commit is contained in:
Dmytro Bondar
2024-09-23 21:48:11 +02:00
committed by GitHub
parent 3196010a58
commit 2c01f42369
4 changed files with 18 additions and 55 deletions

1
go.mod
View File

@@ -3,6 +3,7 @@ module github.com/h44z/wg-portal
go 1.22.2
require (
github.com/a8m/envsubst v1.4.2
github.com/coreos/go-oidc/v3 v3.11.0
github.com/gin-contrib/cors v1.7.2
github.com/gin-contrib/sessions v1.0.1