System Status - License Server fix
Dieser Commit ist enthalten in:
@@ -74,7 +74,8 @@
|
||||
"Bash(true)",
|
||||
"Bash(git checkout:*)",
|
||||
"Bash(touch:*)",
|
||||
"Bash(wget:*)"
|
||||
"Bash(wget:*)",
|
||||
"Bash(docker inspect:*)"
|
||||
],
|
||||
"deny": []
|
||||
}
|
||||
|
||||
@@ -214,8 +214,9 @@ def system_status():
|
||||
else:
|
||||
status['status'] = 'unhealthy'
|
||||
status['response_time'] = (datetime.now() - start).total_seconds() * 1000
|
||||
except:
|
||||
except Exception as e:
|
||||
status['status'] = 'down'
|
||||
logging.error(f"Health check failed for {service['name']}: {str(e)}")
|
||||
|
||||
services.append(status)
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
SECRET_KEY=your-super-secret-key-change-this-in-production-12345
|
||||
DATABASE_URL=postgresql://adminuser:supergeheimespasswort@db:5432/meinedatenbank
|
||||
REDIS_URL=redis://redis:6379
|
||||
DEBUG=False
|
||||
@@ -27,5 +27,6 @@ class Settings(BaseSettings):
|
||||
class Config:
|
||||
env_file = ".env"
|
||||
case_sensitive = True
|
||||
extra = "ignore" # Ignore extra environment variables
|
||||
|
||||
settings = Settings()
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren