Deploy Casdoor with Docker
This guide explains how to run Casdoor in production with Docker or Docker Compose and how to put a reverse proxy with HTTPS in front of it.
Learning outcomes
- Prepare the configuration files that the Casdoor container reads.
- Start Casdoor with Docker Compose or
docker run. - Serve Casdoor over HTTPS through Traefik, Nginx, or Caddy.
- Check that the deployment works and find the cause when it doesn't.
What you need
- Docker, and Docker Compose for the Compose setups
- A supported database that the container can reach
- For HTTPS: a domain name that points to your server, and ports 80 and 443 open
Don't want to run it yourself?
Casdoor Cloud gives you a dedicated Casdoor instance that we host and keep upgraded for you, from $25/month with no per-user fees.