Strapi Digitalocean Deploy

screenshot of Strapi Digitalocean Deploy

Deploying Strapi on DigitalOcean with Terraform and Ansible

Overview:

This article discusses a deployment template that uses Terraform and Ansible to deploy a Strapi application on DigitalOcean. The author mentions that the template is a personal project and not maintained by Strapi. They also mention that they welcome contributions and issue reports.

Features:

  • Uses Terraform to configure and deploy DigitalOcean instances for a MariaDB database and a Strapi application.
  • Automatically adds an SSH key and creates service users.
  • Registers the Strapi instance in Cloudflare.
  • Sets up an SSL certificate with Let's Encrypt for the subdomain.
  • Configures Nginx to reverse proxy Strapi.

Summary:

This article provides a deployment template that utilizes Terraform and Ansible to deploy a Strapi application on DigitalOcean. The template automates the configuration of DigitalOcean instances, SSH key setup, service user creation, Cloudflare registration, SSL certificate setup, and Nginx configuration. It includes instructions for installation and is licensed under MIT, allowing free usage.