refactor: reduce deployment to one compose file
Container-Image veröffentlichen / container (push) Has been cancelled
Container-Image veröffentlichen / container (push) Has been cancelled
This commit is contained in:
1 parent
888d9a54a7
commit
c8728746f1
12 files changed
+142
-334
No files matched your search
@@ -50,10 +50,7 @@ func Load() (Config, error) {
|
||||
return Config{}, fmt.Errorf("APP_SHUTDOWN_TIMEOUT: %w", err)
|
||||
}
|
||||
|
||||
keyFile := os.Getenv("APP_MASTER_KEY_FILE")
|
||||
if keyFile == "" {
|
||||
return Config{}, fmt.Errorf("APP_MASTER_KEY_FILE is required (mount a Docker secret there)")
|
||||
}
|
||||
keyFile := value("APP_MASTER_KEY_FILE", "/secrets/master_key")
|
||||
|
||||
cookieSecure := mode == "https"
|
||||
if raw := os.Getenv("APP_COOKIE_SECURE"); raw != "" {
|
||||
|
||||
Reference in new issue
Block a user