Fix GOPATH permissions and properly generate random secrets
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user