Fix GOPATH permissions and properly generate random secrets

This commit is contained in:
Andreas Düren
2025-03-14 22:24:26 +01:00
parent c2a2fab3b0
commit 3558003bf1
2 changed files with 17 additions and 5 deletions

View File

@ -4,7 +4,7 @@ server:
baseURL: "%%APP_ORIGIN%%"
cors:
origins: ["%%APP_ORIGIN%%"]
sessionSecret: "$(openssl rand -hex 32)"
sessionSecret: "%%SESSION_SECRET%%"
database:
host: "%%POSTGRESQL_HOST%%"
@ -41,9 +41,9 @@ email:
name: "%%MAIL_FROM_DISPLAY_NAME%%"
auth:
jwtSecret: "$(openssl rand -hex 32)"
jwtSecret: "%%JWT_SECRET%%"
tokenExpiry: 86400
sessionSecret: "$(openssl rand -hex 32)"
sessionSecret: "%%SESSION_SECRET%%"
logging:
level: "info"
@ -51,7 +51,7 @@ logging:
# Additional settings based on Museum requirements
keygen:
master: "$(openssl rand -hex 32)"
master: "%%MASTER_KEY%%"
payments:
enabled: false