feat: add single-port reverse proxy deployment support

This commit is contained in:
2026-04-02 23:27:46 +03:00
parent 675e173303
commit 3eabd3238f
10 changed files with 122 additions and 12 deletions

View File

@@ -19,7 +19,7 @@ func Load() Config {
return Config{
AppEnv: getenv("APP_ENV", "development"),
ServerHost: getenv("SERVER_HOST", "0.0.0.0"),
ServerPort: getenv("SERVER_PORT", "4040"),
ServerPort: getenv("SERVER_PORT", "5050"),
DatabasePath: getenv("DATABASE_PATH", "./data/app.db"),
EncryptionKey: getenv("APP_ENCRYPTION_KEY", "temporserv-dev-insecure-key"),
ArtworkCacheDir: getenv("ARTWORK_CACHE_DIR", "./data/artwork"),