Deploy Plane with Docker Swarm • Commercial Edition
This guide shows you the steps to deploy a self-hosted instance of the Plane Commercial Edition using Docker Swarm.
Install Plane
Prerequisites
- Before you get started, make sure you have a Docker Swarm environment set up and ready to go.
- Your setup should support either amd64 or arm64 architectures.
Procedure
-
Download the required depoyment files
docker-compose.yml
– Defines Plane’s services and dependencies.variables.env
– Stores environment variables for your deployment.
The
<plane-version>
value should be v1.8.2 or higher. -
Configure environment variables
Before deploying, edit thevariables.env
file in your preferred text editor and update the following values:DOMAIN_NAME
– (required) Your application’s domain name.SITE_ADDRESS
– (required) The full domain name (FQDN) of your instance.MACHINE_SIGNATURE
– (required) A unique identifier for your machine. You can generate this by running below code in terminal:CERT_EMAIL
– (optional) Email address for SSL certificate generation (only needed if you’re setting up HTTPS).
-
Configure external DB, Redis, and RabbitMQ
When self-hosting Plane for production use, it is strongly recommended to configure external database and storage. This ensures that your data remains secure and accessible even if the local machine crashes or encounters hardware issues. Relying solely on local storage for these components increases the risk of data loss and service disruption.
DATABASE_URL
– Connection string for your external database.REDIS_URL
– Connection string for your external Redis instance.AMQP_URL
– Connection string for your external RabbitMQ server.
-
Load the environment variables
-
Deploy the stack
That’s it! This will deploy Plane as a Swarm stack, and your instance should be accessible on your configured domain.