Skip to main content
Libredesk is a single binary application that requires postgres and redis to run. You can install it using the binary or docker.

Installation Methods

Configuration via Environment Variables

Instead of using a config.toml file, you can configure Libredesk entirely through environment variables.
  • All environment variables use the LIBREDESK_ prefix
  • Use double underscore (__) for nested configuration keys
  • To use environment variables exclusively (without a config file), pass --config=""
Example: We recommend running Libredesk behind Nginx as a reverse proxy. Install nginx if you don’t have it:
The proxy must set X-Client-IP to $remote_addr - Libredesk uses this header to identify the client for rate limiting and audit logs. Without it, the proxy’s IP is treated as the client.
Save the following as /etc/nginx/sites-available/libredesk:
Then enable it and reload nginx: