Skip to main content

Overview

Zeus server configuration is managed through environment variables. This allows flexible deployment across different environments.

Environment Variables

Required

Optional

Configuration File

Create .env in the server directory:

Docker Compose

Full configuration in docker-compose.yml:

Environments

Development

Staging

Production

Logging Levels

Security Considerations

  1. Never commit .env files - Add to .gitignore
  2. Use strong JWT secrets - At least 32 characters
  3. Rotate secrets regularly - Especially in production
  4. Use TLS - Always in production
  5. Limit database permissions - Use dedicated user

Configuration in Code

Access configuration in Rust: