Traefik
This guide explains how to deploy Kaneo using Traefik as a reverse proxy. This setup is ideal for production environments where you want to expose Kaneo through a domain name with HTTPS.
Prerequisites
- A server with Docker and Docker Compose installed
- A domain name pointing to your server
- Basic knowledge of Traefik configuration
Create a compose.yml
file with the following content:
Start the containers:
Configure your DNS settings to point both your-domain.com
and api.your-domain.com
to your server's IP address.
You should now be able to access Kaneo at http://your-domain.com
and the API at http://api.your-domain.com
. 🎉
Alternative Configuration: Single Domain with Path-Based Routing
If you prefer to use a single domain with path-based routing, you can use the following configuration:
Create a compose.yml
file with the following content:
Start the containers:
Configure your DNS settings to point your-domain.com
to your server's IP address.
You should now be able to access Kaneo at http://your-domain.com
and the API will be accessible at http://your-domain.com/api
. 🎉