Skip to main content

Deployment

Deploying a Comet application requires a couple of microservices. The following sections describe the necessary services and how to deploy them.

IDP

Any OIDC-compliant Identity Provider (such as Auth0) can be used with Comet DXP.

Database

We recommend a managed PostgreSQL database such as Azure Database for PostgreSQL or PostgreSQL on Digital Ocean. Managed databases are easier to maintain and scale as they provide automatic backups, monitoring, and scaling.

For those with budget constraints, the database can be included in the Docker Compose setup for the API, Admin, and Site.

Asset Storage

We recommend using a managed object storage service like Azure Blob Storage or Digital Ocean Spaces.

API, Admin, Site, oauth2-proxy and imgproxy

There are several ways to deploy these microservices. The best deployment method depends on your budget and requirements.

Kubernetes

Comet DXP is a cloud-native CMS, so Kubernetes is the preferred way to deploy a Comet application, as it provides the most flexibility and supports all enterprise requirements. However, it is usually the most expensive way.

We provide Helm Charts, which are available on GitHub, for easy deployment.

Serverless

Comet Applications can also be deployed to serverless container platforms like Azure Container Apps or Digital Ocean App Platform.

It's important to note that deploying to a serverless platform comes with its own set of limitations. For instance, you won't be able to use the CronJobModule and the KubernetesModule in this setup.

Docker Compose

For those with budget constraints, Docker Compose can be a viable option for deploying Comet applications.