Files
supervisor-ui/.env.example
Sebastian Krüger bdec163fb0
All checks were successful
Build and Push Docker Image to Gitea / build-and-push (push) Successful in 1m11s
refactor: simplify readLog to use standard Supervisor XML-RPC API
Removed SUPERVISOR_LOGFILE environment variable and simplified readLog()
to use the standard 2-parameter XML-RPC API that relies on supervisord's
configured logfile path.

Changes:
- Removed SUPERVISOR_LOGFILE from .env.example
- Simplified SupervisorClient.readLog() to accept only offset and length
- Removed logfile path parameter and all environment variable logic
- Fixed mobile nav container padding (removed px-4 py-6)

The readLog() method now uses the standard supervisor.readLog(offset, length)
XML-RPC call, which automatically reads from the logfile path configured
in supervisord.conf.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-23 22:58:03 +01:00

17 lines
412 B
Plaintext

# Supervisor XML-RPC Connection
# For local development
SUPERVISOR_HOST=localhost
SUPERVISOR_PORT=9001
# For Docker Compose
# SUPERVISOR_HOST=supervisor
# SUPERVISOR_PORT=9001
# Optional: HTTP Basic Auth (if configured in supervisord.conf)
# SUPERVISOR_USERNAME=user
# SUPERVISOR_PASSWORD=pass
# Logging Configuration
# Log level: debug, info, warn, error (default: info in prod, debug in dev)
LOG_LEVEL=info