Project templates


You can initialize your projects using any of our pre-made template repositories.

You can click the Deploy on Platform.sh button to launch a new project using a template, or you can visit and clone the repository and push to an empty project you have created using the CLI or in the management console.

C#/.NET Core 

View the C#/.NET Core documentation.

ASP.NET Core

ASP.NET Core

This template deploys the ASP.NET Core framework. It includes a minimalist application skeleton for demonstration, but you are free to alter it as needed. It includes demonstration-level connections for MariaDB and a Redis cache server.

ASP.NET Core is an open-source and cross-platform .NET framework for building modern cloud-based web applications.

Features:

  • .NET 2.2
  • MariaDB 10.4
  • Redis 5.0
  • Automatic TLS certificates

View the repository on GitHub.

Deploy on Platform.sh


Go 

View the Go documentation.

Basic Go

Basic Go

This template provides the most basic configuration for running a custom Go project using Go modules. It demonstrates the Platform.sh `config-reader` library and connecting to a MariaDB instance. It can be used to build a very rudimentary application but is intended primarily as a documentation reference.

Go is a statically typed, compiled language with an emphasis on easy concurrency and network services.

Features:

  • Go 1.15
  • MariaDB 10.4
  • Automatic TLS certificates
  • Git module-based build

View the repository on GitHub.

Deploy on Platform.sh

Beego

Beego

This template demonstrates building the Beego framework for Platform.sh using Go modules. It includes a minimalist application skeleton that demonstrates how to connect to a MariaDB server. It is intended for you to use as a starting point and modify for your own needs.

Beego is a popular web framework written in Go.

Features:

  • Go 1.14
  • MariaDB 10.4
  • Automatic TLS certificates
  • Git module-based build

View the repository on GitHub.

Deploy on Platform.sh

Echo

Echo

This template demonstrates building the Echo framework for Platform.sh using Go modules. It includes a minimalist application skeleton that demonstrates how to connect to a MariaDB server. It is intended for you to use as a starting point and modify for your own needs.

Echo is a lightweight, minimalist web framework written in Go.

Features:

  • Go 1.14
  • MariaDB 10.4
  • Automatic TLS certificates
  • Git module-based build

View the repository on GitHub.

Deploy on Platform.sh

Elastic APM with Kibana

Elastic APM with Kibana

This template builds Elastic APM (Application Performance Monitoring) with a Kibana front-end. It is intended as a complete self-contained monitoring solution, although authentication needs to be configured for your specific application.

Features:

  • Elasticsearch 7.2

View the repository on GitHub.

Deploy on Platform.sh

Gin

Gin

This template demonstrates building the Gin framework for Platform.sh using Go modules. It includes a minimalist application skeleton that demonstrates how to connect to a MariaDB server for data storage. It is intended for you to use as a starting point and modify for your own needs.

Gin is a lightweight web framework written in Go that emphasizes performance.

Features:

  • Go 1.14
  • MariaDB 10.4
  • Git module-based build

View the repository on GitHub.

Deploy on Platform.sh

Hugo

Hugo

This template provides a basic Hugo skeleton. All files are generated at build time, so at runtime only static files need to be served. The Hugo executable itself is downloaded during the build hook. You can specify the version to use by updating the `.platform.app.yaml` file. It also includes a minimal template to get you started, but you are free to replace it with your own template.

Hugo is a static site generator written in Go, using Go's native template packages for formatting.

Features:

  • Go 1.15
  • Automatic TLS certificates
  • Hugo downloaded on the fly during build

View the repository on GitHub.

Deploy on Platform.sh

Mattermost

Mattermost

This template builds Mattermost on Platform.sh, configuring the deployment through user-defined environment variables. The Mattermost binary is downloaded on the fly during the build step. It includes a PostgreSQL database and Elasticsearch for indexing, both of which come pre-configured.

Mattermost is an open-source messaging framework written in Go and React.

Features:

  • Go 1.14
  • PostgreSQL 12
  • * Elasticsearch 7.2

View the repository on GitHub.

Deploy on Platform.sh


Java 

View the Java documentation.

Apache Tomcat

Apache Tomcat

This project provides a starter kit for Apache Tomcat hosted on Platform.sh. Tomcat itself is downloaded on the fly in the build hook based on the provided `pom.xml` file.

Apache Tomcat is an open-source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and WebSocket technologies.

Features:

  • Java 11
  • Automatic TLS certificates
  • Maven-based build

View the repository on GitHub.

Deploy on Platform.sh

Apache TomEE

Apache TomEE

This project provides a starter kit for Apache TomEE Eclipse MicroProfile projects hosted on Platform.sh. It includes a minimalist application skeleton that is intended for you to use as a starting point and modify for your own needs, along with the Platform.sh Config Reader to simplify accessing Platform.sh environment variables.

Apache TomEE is the Eclipse MicroProfile implementation that uses several Apache Project flavors such as Apache Tomcat, Apache OpenWebBeans and so on.

Features:

  • Java 11
  • Automatic TLS certificates
  • Maven-based build

View the repository on GitHub.

Deploy on Platform.sh

Helidon

Helidon

This project provides a starter kit for Helidon Eclipse MicroProfile projects hosted on Platform.sh. It includes a minimalist application skeleton that is intended for you to use as a starting point and modify for your own needs, along with the Platform.sh Config Reader to simplify accessing Platform.sh environment variables.

Helidon is a collection of Java libraries for writing microservices that run on a fast web core powered by Netty.

Helidon is designed to be simple to use, with tooling and examples to get you going quickly. Since Helidon is just a collection of libraries running on a fast Netty core, there is no extra overhead or bloat.

Features:

  • Java 11
  • Automatic TLS certificates
  • Maven-based build

View the repository on GitHub.

Deploy on Platform.sh

Jenkins

Jenkins

This project provides a starter kit for Jenkins projects hosted on Platform.sh. The Jenkins `.war` file is downloaded during the build hook and not included in the repository.

Jenkins is an open source automation server written in Java. Jenkins helps to automate the non-human part of the software development process, with continuous integration and facilitating technical aspects of continuous delivery.

Features:

  • Java 11
  • Automatic TLS certificates
  • Jenkins downloaded on the fly during build

View the repository on GitHub.

Deploy on Platform.sh

Jetty

Jetty

This template provides an Eclipse Jetty Web server and javax.servlet container, plus support for HTTP/2, WebSocket, OSGi, JMX, JNDI, JAAS and many other integrations. Jetty itself is downloaded on the fly in the build hook based on the provided `pom.xml` file.

Eclipse Jetty is used in a wide variety of projects and products, both in development and production. Jetty can be easily embedded in devices, tools, frameworks, application servers, and clusters.

Features:

  • Java 11
  • Automatic TLS certificates
  • Maven-based build

View the repository on GitHub.

Deploy on Platform.sh

KumuluzEE

KumuluzEE

This project provides a starter kit for KumuluzEE Eclipse MicroProfile projects hosted on Platform.sh. It includes a minimalist application skeleton that is intended for you to use as a starting point and modify for your own needs, along with the Platform.sh Config Reader to simplify accessing Platform.sh environment variables.

KumuluzEE is a lightweight framework for developing microservices using standard Java, Java EE / Jakarta EE technologies and migrating existing Java applications to microservices. KumuluzEE packages microservices as standalone JARs. KumuluzEE microservices are lightweight and optimized for size and start-up time.

Features:

  • Java 11
  • Automatic TLS certificates
  • Maven-based build

View the repository on GitHub.

Deploy on Platform.sh

Micronaut

Micronaut

This project provides a starter kit for Micronaut projects hosted on Platform.sh. It includes a minimalist application skeleton that is intended for you to use as a starting point and modify for your own needs, along with the Platform.sh Config Reader to simplify accessing Platform.sh environment variables.

Micronaut is a modern, JVM-based, full-stack framework for building modular, easily testable microservice and serverless applications.

Features:

  • Java 11
  • Automatic TLS certificates
  • Maven-based build

View the repository on GitHub.

Deploy on Platform.sh

Open Liberty

Open Liberty

This project provides a starter kit for Open Liberty Eclipse MicroProfile projects hosted on Platform.sh. It includes a minimalist application skeleton that is intended for you to use as a starting point and modify for your own needs, along with the Platform.sh Config Reader to simplify accessing Platform.sh environment variables.

Open Liberty is a highly composable, fast to start, dynamic application server runtime environment.

Features:

  • Java 11
  • Automatic TLS certificates
  • Maven-based build

View the repository on GitHub.

Deploy on Platform.sh

Payara Micro

Payara Micro

This project provides a starter kit for Payara Micro projects hosted on Platform.sh. It includes a minimalist application skeleton that is intended for you to use as a starting point and modify for your own needs, along with the Platform.sh Config Reader to simplify accessing Platform.sh environment variables.

Payara Micro is an Open Source, lightweight Java EE (Jakarta EE) microservices deployments.

Features:

  • Java 11
  • Automatic TLS certificates
  • Maven-based build

View the repository on GitHub.

Deploy on Platform.sh

Quarkus

Quarkus

QuarkusIO, the Supersonic Subatomic Java, promises to deliver small artifacts, extremely fast boot time, and lower time-to-first-request.

A sample Hello World application is provided as a starting point. It includes a plain REST application. To use Quarkus with services see the example project (https://github.com/platformsh-examples/quarkus).

Features:

  • Java 11
  • Automatic TLS certificates
  • Maven-based build

View the repository on GitHub.

Deploy on Platform.sh

Spring Boot, Gradle, Mysql

Spring Boot, Gradle, Mysql

This template demonstrates building a Spring Boot application. It uses Gradle to build the application and deploy it to Platform.sh.

A sample Hello World application is provided as a starting point. It includes an Oracle MySQL database, and the sample application shows how to make the database connection. The example code also demonstrates how to access the Platform.sh environment variables using the Platform.sh Config Reader library.

Features:

  • Java 11
  • Oracle MySQL 8.0
  • Automatic TLS certificates
  • Gradle-based build

View the repository on GitHub.

Deploy on Platform.sh

Spring Boot, Maven, Mysql

Spring Boot, Maven, Mysql

This template demonstrates building a Spring Boot application. It uses Maven to build the application and deploy it to Platform.sh.

A sample Hello World application is provided as a starting point. It includes an Oracle MySQL database, and the sample application shows how to make the database connection. The example code also demonstrates how to access the Platform.sh environment variables using the Platform.sh Config Reader library.

Features:

  • Java 11
  • Oracle MySQL 8.0
  • Automatic TLS certificates
  • Maven-based build

View the repository on GitHub.

Deploy on Platform.sh

Spring MVC, Maven, MongoDB

Spring MVC, Maven, MongoDB

This template demonstrates building a Spring MVC application. It uses Maven to build the application and deploy it to Platform.sh.

A sample Hello World application is provided as a starting point. It includes a MongoDB database, and the sample application shows how to make the database connection. The example code also demonstrates how to access the Platform.sh environment variables using the Platform.sh Config Reader library.

Features:

  • Java 11
  • MongoDB 3.6
  • Automatic TLS certificates
  • Maven-based build

View the repository on GitHub.

Deploy on Platform.sh

Spring, Kotlin, Maven

Spring, Kotlin, Maven

This template demonstrates building a Spring MVC application in the Kotlin language. It uses Maven to build the application and deploy it to Platform.sh.

>A sample Hello World application is provided as a starting point. It includes an Oracle MySQL database, and the sample application shows how to make the database connection. The example code also demonstrates how to access the Platform.sh environment variables.

Features:

  • Java 11
  • MySQL 8.0
  • Automatic TLS certificates
  • Maven-based build

View the repository on GitHub.

Deploy on Platform.sh

Thorntail

Thorntail

This project provides a starter kit for Thorntail Eclipse MicroProfile projects hosted on Platform.sh. It includes a minimalist application skeleton that is intended for you to use as a starting point and modify for your own needs, along with the Platform.sh Config Reader to simplify accessing Platform.sh environment variables.

Thorntail offers an innovative approach to packaging and running Java EE applications by packaging them with just enough of the server runtime to "java -jar" your application. It's MicroProfile compatible, too.

Features:

  • Java 11
  • Automatic TLS certificates
  • Maven-based build

View the repository on GitHub.

Deploy on Platform.sh

Wildfly

Wildfly

This project provides a starter kit for Wildfly Eclipse MicroProfile projects hosted on Platform.sh. It includes a minimalist application skeleton that is intended for you to use as a starting point and modify for your own needs, along with the Platform.sh Config Reader to simplify accessing Platform.sh environment variables.

WildFly is a flexible, lightweight, managed application runtime that helps you build amazing applications.

Features:

  • Java 11
  • Automatic TLS certificates
  • Maven-based build

View the repository on GitHub.

Deploy on Platform.sh

xwiki

xwiki

This project provides a starter kit for XWiki projects hosted on Platform.sh. It includes and automatically configures a PostgreSQL database for storage. XWiki itself is downloaded during the build step. It is run using Jetty.

XWiki is a free wiki software platform written in Java with a design emphasis on extensibility. XWiki is an enterprise wiki. It includes WYSIWYG editing, OpenDocument based document import/export, semantic annotations and tagging, and advanced permissions management.

Features:

  • Java 11
  • PostgreSQL 11
  • Automatic TLS certificates
  • Maven-based build

View the repository on GitHub.

Deploy on Platform.sh


Lisp 

View the Lisp documentation.

Lisp Hunchentoot

Lisp Hunchentoot

This template provides the most basic configuration for running a Lisp Huchentoot web server for Platform.sh. It can be used to build a very rudimentary application but is intended primarily as a documentation reference. It is meant to be a starting point and can be modified to fit your own needs.

This template builds a simple Lisp Hunchentoot web server for Platform.sh. It includes a minimalist application for demonstration, but you are free to alter it as needed.

Hunchentoot is a web server written in Common Lisp and at the same time a toolkit for building dynamic websites.

Features:

  • Lisp 1.5
  • Automatic TLS certificates

View the repository on GitHub.

Deploy on Platform.sh


Node.js 

View the Node.js documentation.

Directus

Directus

This template demonstrates building Directus for Platform.sh. It includes a quickstart application configured to run with PostgreSQL. It is intended for you to use as a starting point and modify for your own needs.

Directus is an open-source platform that allows you to create and manage an API from data stored in a database.

Features:

  • Node.js 14
  • PostgreSQL 12
  • Redis 6.0
  • Automatic TLS certificates
  • npm-based build

View the repository on GitHub.

Deploy on Platform.sh

Elastic APM with Kibana

Elastic APM with Kibana

This template builds Elastic APM (Application Performance Monitoring) with a Kibana front-end. It is intended as a complete self-contained monitoring solution, although authentication needs to be configured for your specific application.

Features:

  • Elasticsearch 7.2

View the repository on GitHub.

Deploy on Platform.sh

Express

Express

This template demonstrates building the Express framework for Platform.sh. It includes a minimalist application skeleton that demonstrates how to connect to a MariaDB server. It is intended for you to use as a starting point and modify for your own needs.

Express is a minimalist web framework written in Node.js.

Features:

  • Node.js 14
  • MariaDB 10.4
  • Automatic TLS certificates
  • npm-based build

View the repository on GitHub.

Deploy on Platform.sh

Gatsby

Gatsby

This template builds a simple application using Gatsby. Gatsby is a free and open source framework based on React that helps developers build blazing fast websites and apps. The website is statically generated by a Node.js application during the build step, and then served statically at runtime.

Gatsby is a free and open source framework based on React that helps developers build blazing fast websites and apps.

Features:

  • Node.js 14
  • Automatic TLS certificates
  • yarn-based build

View the repository on GitHub.

Deploy on Platform.sh

Gatsby with Drupal

Gatsby with Drupal

This template builds a two-application project to deploy the Headless CMS pattern using Gatsby as its frontend and Drupal 8 for its backend. The gatsby-source-drupal source plugin is used to pull data from Drupal during the post_deploy hook into the Gatsby Data Layer and build the frontend site. Gatsby utilizes the Platform.sh Configuration Reader library for Node.js to define the backend data source in its configuration. It is intended for you to use as a starting point and modify for your own needs.

Note that after you have completed the Drupal installation and included a few articles, the project will require a redeploy to build and deploy Gatsby for the first time. See the included README's post-install section for details.

Gatsby is a free and open source framework based on React that helps developers build statically-generated websites and apps, and Drupal is a flexible and extensible PHP-based CMS framework.

Features:

  • Node.js 12
  • PHP 7.4
  • MariaDB 10.4
  • Redis 5.0
  • Automatic TLS certificates
  • npm-based build for Gatsby
  • Composer-based build for Drupal
  • Multi-app configuration
  • Delayed SSG build (post deploy hook)

View the repository on GitHub.

Deploy on Platform.sh

Gatsby with Strapi

Gatsby with Strapi

This template builds a two application project to deploy the Headless CMS pattern using Gatsby as its frontend and Strapi for its backend. The `gatsby-source-strapi` source plugin is used to pull data from Strapi during the `post_deploy` hook into the Gatsby Data Layer and build the frontend site. Gatsby utilizes the Platform.sh Configuration Reader library for Node.js to define the backend data source in its configuration. It is intended for you to use as a starting point and modify for your own needs.

Note that there are several setup steps required after the first deploy to create your first content types and access permissions in Strapi. See the included README's post-install section for details.

Gatsby is a free and open source framework based on React that helps developers build blazing fast websites and apps, and Strapi is a Headless CMS framework written in Node.js.

Features:

  • Node.js 14
  • PostgreSQL 12
  • Automatic TLS certificates
  • yarn-based build
  • Multi-app configuration
  • Delayed SSG build (post deploy hook)

View the repository on GitHub.

Deploy on Platform.sh

Gatsby with Wordpress

Gatsby with Wordpress

This template builds a two application project to deploy the Headless CMS pattern using Gatsby as its frontend and Wordpress for its backend. The `gatsby-source-wordpress` source plugin is used to pull data from Wordpress during the `post_deploy` hook into the Gatsby Data Layer and build the frontend site. Gatsby utilizes the Platform.sh Configuration Reader library for Node.js to define the backend data source in its configuration. It is intended for you to use as a starting point and modify for your own needs.

Note that after you have completed the Wordpress installation, the project will require a redeploy to build and deploy Gatsby for the first time. See the included README's post-install section for details.

Gatsby is a free and open source framework based on React that helps developers build statically-generated websites and apps, and WordPress is a blogging and lightweight CMS written in PHP.

Features:

  • Node.js 14
  • PHP 7.4
  • MariaDB 10.4
  • Automatic TLS certificates
  • npm-based build for Gatsby
  • Composer-based build for Wordpress
  • Multi-app configuration
  • Delayed SSG build (post deploy hook)

View the repository on GitHub.

Deploy on Platform.sh

Koa

Koa

This template demonstrates building the Koa framework for Platform.sh. It includes a minimalist application skeleton that demonstrates how to connect to a MariaDB server for data storage. It is intended for you to use as a starting point and modify for your own needs.

Koa is a lightweight web microframework for Node.js.

Features:

  • Node.js 10
  • MariaDB 10.2
  • Automatic TLS certificates
  • npm-based build

View the repository on GitHub.

Deploy on Platform.sh

Next.js

Next.js

This template builds a simple application using the Next.js web framework. It includes a minimal application skeleton that demonstrates how to set up an optimized build using Next.js and Yarn, as well as how to begin defining individual pages (such as the /api/hello) endpoint that comes pre-defined with this template.

Next.js is an open-source web framework written for Javascript.

Features:

  • Node.js 14
  • Automatic TLS certificates
  • yarn-based build

View the repository on GitHub.

Deploy on Platform.sh

Node.js

Node.js

This template builds a simple application using the Node.js built-in `http` web server. It includes a minimalist application skeleton that demonstrates how to connect to the included MariaDB server, but you are free to alter it as needed.

Node.js is an open-source JavaScript runtime built on Chrome's V8 JavaScript engine.

Features:

  • Node.js 14
  • MariaDB 10.4
  • Automatic TLS certificates
  • npm-based build

View the repository on GitHub.

Deploy on Platform.sh

NuxtJS

NuxtJS

This template builds a simple application using the NuxtJS web framework that can be used as a starting point.

NuxtJS is an open-source web framework based on Vue.js.

Features:

  • Node.js 14
  • Automatic TLS certificates
  • yarn-based build

View the repository on GitHub.

Deploy on Platform.sh

Probot

Probot

This template builds a simple GitHub App using [Probot](https://github.com/probot/probot) for Node.js. It includes a minimalist skeleton GitHub app that demonstrates a basic GitHub connection response. It is intended for you to use as a starting point and modify for your own needs.

Note that there are several setup steps required after first deploy to connect your project to GitHub. See the included README file for details.

Probot is a framework for building GitHub Apps in Node.js.

Features:

  • Node.js 12
  • Automatic TLS certificates
  • npm-based build

View the repository on GitHub.

Deploy on Platform.sh

strapi

strapi

This template builds a Strapi backend for Platform.sh, which can be used to quickly create an API that can be served by itself or as a Headless CMS data source for another frontend application in the same project. This repository does not include a frontend application, but you can add one of your choice and access Strapi by defining it in a relationship in your frontend's .platform.app.yaml file.

Strapi is a Headless CMS framework written in Node.js.

Features:

  • Node.js 12
  • PostgreSQL 12
  • Automatic TLS certificates
  • npm-based build
  • OpenAPI spec generation
  • Automatic public API documentation

View the repository on GitHub.

Deploy on Platform.sh


PHP 

View the PHP documentation.

Akeneo PIM Community Edition

Akeneo PIM Community Edition

This template builds the Akeneo PIM system for Platform.sh. By default it uses the "minimal" install profile. It requires at least a Medium plan as it uses a Worker instance for queue processing.

Akeneo is a Product Information Management (PIM) tool, which acts as a central store for product information, catalog information, and inventory management.

Features:

  • PHP 7.4
  • MySQL 8.0
  • Elasticsearch 7.7
  • Automatic TLS certificates

View the repository on GitHub.

Deploy on Platform.sh

Backdrop

Backdrop

This template deploys a Backdrop CMS site, with the entire site committed to Git. It comes configured for MariaDB, the most popular database used with Backdrop. It supports a quick web installation to configure the site.

Backdrop is a PHP-based CMS, originally forked from Drupal 7.

Features:

  • PHP 7.3
  • MariaDB 10.4
  • Drush included
  • Automatic TLS certificates

View the repository on GitHub.

Deploy on Platform.sh

Basic PHP

Basic PHP

This template provides the most basic configuration for running a custom PHP project built with Composer. It includes but doesn't make use of the Platform.sh `config-reader` library. It can be used to build a very rudimentary application but is intended primarily as a documentation reference.

PHP is a high-performance scripting language especially well suited to web development.

Features:

  • PHP 7.4
  • Automatic TLS certificates
  • Composer-based build

View the repository on GitHub.

Deploy on Platform.sh

Drupal 8

Drupal 8

This template builds Drupal 8 using the "Drupal Recommended" Composer project. It is pre-configured to use MariaDB and Redis for caching. The Drupal installer will skip asking for database credentials as they are already provided.

Drupal is a flexible and extensible PHP-based CMS framework.

Features:

  • PHP 7.4
  • MariaDB 10.4
  • Redis 6
  • Automatic TLS certificates
  • Composer-based build

View the repository on GitHub.

Deploy on Platform.sh

Drupal 8 Multisite

Drupal 8 Multisite

This template builds Drupal 8 in a multisite configuration using the "Drupal Recommended" Composer project. It is pre-configured to use MariaDB and Redis for caching. The Drupal installer will skip asking for database credentials as they are already provided.

It also includes instructions and a script to help with setting up additional multisite instances, although depending on your particular needs it may require some customization.

Drupal is a flexible and extensible PHP-based CMS framework capable of hosting multiple sites on a single code base.

Features:

  • PHP 7.4
  • MariaDB 10.4
  • Redis 6
  • Drush and Drupal Console included
  • Pre-configured for multiple sites
  • Automatic TLS certificates
  • Composer-based build

View the repository on GitHub.

Deploy on Platform.sh

Drupal 9

Drupal 9

This template builds Drupal 9 using the "Drupal Recommended" Composer project. It is pre-configured to use MariaDB and Redis for caching. The Drupal installer will skip asking for database credentials as they are already provided.

Drupal is a flexible and extensible PHP-based CMS framework.

Features:

  • PHP 7.4
  • MariaDB 10.4
  • Redis 6
  • Drush included
  • Automatic TLS certificates
  • Composer-based build

View the repository on GitHub.

Deploy on Platform.sh

Gatsby with Drupal

Gatsby with Drupal

This template builds a two-application project to deploy the Headless CMS pattern using Gatsby as its frontend and Drupal 8 for its backend. The gatsby-source-drupal source plugin is used to pull data from Drupal during the post_deploy hook into the Gatsby Data Layer and build the frontend site. Gatsby utilizes the Platform.sh Configuration Reader library for Node.js to define the backend data source in its configuration. It is intended for you to use as a starting point and modify for your own needs.

Note that after you have completed the Drupal installation and included a few articles, the project will require a redeploy to build and deploy Gatsby for the first time. See the included README's post-install section for details.

Gatsby is a free and open source framework based on React that helps developers build statically-generated websites and apps, and Drupal is a flexible and extensible PHP-based CMS framework.

Features:

  • Node.js 12
  • PHP 7.4
  • MariaDB 10.4
  • Redis 5.0
  • Automatic TLS certificates
  • npm-based build for Gatsby
  • Composer-based build for Drupal
  • Multi-app configuration
  • Delayed SSG build (post deploy hook)

View the repository on GitHub.

Deploy on Platform.sh

Gatsby with Wordpress

Gatsby with Wordpress

This template builds a two application project to deploy the Headless CMS pattern using Gatsby as its frontend and Wordpress for its backend. The `gatsby-source-wordpress` source plugin is used to pull data from Wordpress during the `post_deploy` hook into the Gatsby Data Layer and build the frontend site. Gatsby utilizes the Platform.sh Configuration Reader library for Node.js to define the backend data source in its configuration. It is intended for you to use as a starting point and modify for your own needs.

Note that after you have completed the Wordpress installation, the project will require a redeploy to build and deploy Gatsby for the first time. See the included README's post-install section for details.

Gatsby is a free and open source framework based on React that helps developers build statically-generated websites and apps, and WordPress is a blogging and lightweight CMS written in PHP.

Features:

  • Node.js 14
  • PHP 7.4
  • MariaDB 10.4
  • Automatic TLS certificates
  • npm-based build for Gatsby
  • Composer-based build for Wordpress
  • Multi-app configuration
  • Delayed SSG build (post deploy hook)

View the repository on GitHub.

Deploy on Platform.sh

GovCMS 8

GovCMS 8

This template builds the Australian government's GovCMS Drupal 8 distribution using the Drupal Composer project for better flexibility. It is pre-configured to use MariaDB and Redis for caching. The Drupal installer will skip asking for database credentials as they are already provided.

GovCMS is a Drupal distribution built for the Australian government, and includes configuration optimized for managing government websites.

Features:

  • PHP 7.4
  • MariaDB 10.4
  • Redis 6
  • Drush and Drupal Console included
  • Automatic TLS certificates
  • Composer-based build

View the repository on GitHub.

Deploy on Platform.sh

Laravel

Laravel

This template provides a basic Laravel skeleton. It comes pre-configured to use a MariaDB database and Redis for caching and sessions using a Laravel-specific bridge library that runs during Composer autoload. The public files symlink is also replaced with a custom web path definition so it is unnecessary. It is intended for you to use as a starting point and modify for your own needs.

Laravel is an opinionated, integrated rapid-application-development framework for PHP.

Features:

  • PHP 7.4
  • MariaDB 10.4
  • Redis 5.0
  • Automatic TLS certificates
  • Composer-based build

View the repository on GitHub.

Deploy on Platform.sh

Magento 2 Community Edition

Magento 2 Community Edition

This template builds Magento 2 CE on Platform.sh. It includes additional scripts to customize Magento to run effectively in a build-and-deploy environment. A MariaDB database and Redis cache server come pre-configured and work out of the box. The installer has been modified to not ask for database information. Background workers are run using a worker container rather than via cron.

Magento is a fully integrated ecommerce system and web store written in PHP. This is the Open Source version.

Features:

  • PHP 7.2
  • MariaDB 10.2
  • Redis 3.2
  • Dedicated worker instance for background processing
  • Automatic TLS certificates
  • Composer-based build

View the repository on GitHub.

Deploy on Platform.sh

Nextcloud

Nextcloud

This template builds Nextcloud on Platform.sh. Nextcloud itself is downloaded on the fly during the build step, and pre-configured for use with MariaDB and Redis. Add-on applications can be provided in a separate directory and will be merged into Nextcloud automatically during build. (Self-update through the web interface is not supported.)

The admin user is created automatically during the first deploy, and its name and password will be available in the deploy log. Be sure to check for it there so you can log in.

Nextcloud is a PHP-based groupware server with installable apps, file synchronization, and federated storage.

Features:

  • PHP 7.4
  • MariaDB 10.4
  • Redis 5.0
  • Automatic TLS certificates
  • Nextcloud downloaded on the fly during build

View the repository on GitHub.

Deploy on Platform.sh

Opigno

Opigno

This template builds the Opigno Drupal 8 distribution using the [Drupal Composer project](https://github.com/drupal-composer/drupal-project) for better flexibility. It also includes configuration to use Redis for caching, although that must be enabled post-install in `.platform.app.yaml`.

Opigno is a Learning Management system built as a Drupal distribution.

Features:

  • PHP 7.3
  • MariaDB 10.4
  • Redis 6
  • Drush and Drupal Console included
  • Automatic TLS certificates
  • Composer-based build

View the repository on GitHub.

Deploy on Platform.sh

Pimcore

Pimcore

This template builds Pimcore 5 on Platform.sh. It comes pre-installed with a MariaDB database connecting through Doctrine and Redis for caching via a custom configuration file. It will self-install on the first deploy.

Pimcore is a Symfony-based Digital Experience Platform.

Features:

  • PHP 7.4
  • MariaDB 10.4
  • Redis 5
  • Automatic TLS certificates
  • Composer-based build

View the repository on GitHub.

Deploy on Platform.sh

Sculpin

Sculpin

This template provides a basic Sculpin skeleton. All files are generated at build time, so at runtime only static files need to be served.

Sculpin is a static site generator written in PHP and using the Twig templating engine.

Features:

  • PHP 7.4
  • Automatic TLS certificates
  • Composer-based build

View the repository on GitHub.

Deploy on Platform.sh

Symfony 4

Symfony 4

This template provides a basic Symfony 4 skeleton. It comes pre-configured to use a MariaDB database using a Symfony-specific bridge library that runs during Composer autoload. It is intended for you to use as a starting point and modify for your own needs.

It is configured for Production mode by default, so the usual Symfony "welcome" page will not appear. Instead, you will see a 404 page after the site first deploys, which is normal. You may switch it into dev mode via `.platform.app.yaml` if desired.

Symfony is a high-performance loosely-coupled PHP web development framework.

New projects should be built using Symfony 5, but this project is a reference for existing migrating sites. Version 4 is the LTS support version.

Features:

  • PHP 7.4
  • MariaDB 10.4
  • Automatic TLS certificates
  • Composer-based build

View the repository on GitHub.

Deploy on Platform.sh

Symfony 5

Symfony 5

This template provides a basic Symfony 5 skeleton. It comes pre-configured to use a MariaDB database using a Symfony-specific bridge library that runs during Composer autoload. It is intended for you to use as a starting point and modify for your own needs.

It is configured for Production mode by default, so the usual Symfony "welcome" page will not appear. Instead, you will see a 404 page after the site first deploys, which is normal. You may switch it into dev mode via `.platform.app.yaml` if desired.

Symfony is a high-performance loosely-coupled PHP web development framework.

Features:

  • PHP 7.4
  • MariaDB 10.4
  • Automatic TLS certificates
  • Composer-based build

View the repository on GitHub.

Deploy on Platform.sh

TYPO3

TYPO3

This template builds the TYPO3 CMS for Platform.sh. It comes pre-configured with MariaDB for storage and Redis for caching. A command line installer will automatically initialize the site on first deploy.

TYPO3 is a PHP-based Content Management System

Features:

  • PHP 7.4
  • MariaDB 10.4
  • Redis 5.0
  • Automatic TLS certificates
  • Composer-based build

View the repository on GitHub.

Deploy on Platform.sh

WooCommerce (Bedrock) for Platform.sh

WooCommerce (Bedrock) for Platform.sh

This template builds WordPress on Platform.sh using the Bedrock boilerplate by Roots with Composer. It includes WooCommerce and JetPack as dependencies, which when enabled will quickly allow you to create a store on WordPress.

Plugins and themes should be managed with Composer exclusively. The only modifications made to the standard Bedrock boilerplate have been providing database credentials and main site url parameters via environment variables. With this configuration, the database is automatically configured such that the installer will not ask you for database credentials. While Bedrock provides support to replicate this configuration in a .env file for local development, an example Lando configuration file is included as the recommendated method to do so.

WordPress is a blogging and lightweight CMS written in PHP, and Bedrock is a Composer-based WordPress boilerplate project with a slightly modified project structure and configuration protocol. WooCommerce is an open-source eCommerce platform and plugin for WordPress.

Features:

  • PHP 7.4
  • MariaDB 10.4
  • Automatic TLS certificates
  • Composer-based build

View the repository on GitHub.

Deploy on Platform.sh

Wordpress (Bedrock)

Wordpress (Bedrock)

This template builds WordPress on Platform.sh using the Bedrock boilerplate by Roots with Composer. Plugins and themes should be managed with Composer exclusively. The only modifications made to the standard Bedrock boilerplate have been providing database credentials and main site url parameters via environment variables. With this configuration, the database is automatically configured such that the installer will not ask you for database credentials. While Bedrock provides support to replicate this configuration in a `.env` file for local development, an example Lando configuration file is included as the recommendated method to do so.

WordPress is a blogging and lightweight CMS written in PHP, and Bedrock is a Composer-based WordPress boilerplate project with a slightly modified project structure and configuration protocol.

Features:

  • PHP 7.4
  • MariaDB 10.4
  • Automatic TLS certificates
  • Composer-based build

View the repository on GitHub.

Deploy on Platform.sh

Wordpress (Composer)

Wordpress (Composer)

This template builds WordPress on Platform.sh using the johnbloch/wordpress "Composer Fork" of WordPress. Plugins and themes should be managed with Composer exclusively. A custom configuration file is provided that runs on Platform.sh to automatically configure the database, so the installer will not ask you for database credentials. For local-only configuration you can use a `wp-config-local.php` file that gets excluded from Git.

WordPress is a blogging and lightweight CMS written in PHP.

Features:

  • PHP 7.4
  • MariaDB 10.4
  • Automatic TLS certificates
  • Composer-based build

View the repository on GitHub.

Deploy on Platform.sh

WordPress (Vanilla) for Platform.sh

WordPress (Vanilla) for Platform.sh

This template builds WordPress on Platform.sh, installing WordPress to a subdirectory instead of to the project root. It does not use a package management tool like Composer, and updating core, themes, and plugins should be done with care. A custom configuration file is provided that runs on Platform.sh to automatically configure the database, so the installer will not ask you for database credentials.

WordPress is a blogging and lightweight CMS written in PHP.

Features:

  • PHP 7.4
  • MariaDB 10.4
  • Automatic TLS certificates

View the repository on GitHub.

Deploy on Platform.sh


Python 

View the Python documentation.

Basic Python 3

Basic Python 3

This template provides the most basic configuration for running a custom Python 3.7 project. It includes the `platformshconfig` package and demonstrates using it to connect to MariaDB and Redis. It can be used to build a very rudimentary application but is intended primarily as a documentation reference. The application starts as a bare Python process with no separate runner.

Python is a general purpose scripting language often used in web development.

Features:

  • Python 3.8
  • MariaDB 10.4
  • Redis 5.0
  • Automatic TLS certificates
  • Pipfile-based build

View the repository on GitHub.

Deploy on Platform.sh

Django 2

Django 2

This template deploys the Django 2 application framework on Platform.sh, using the gunicorn application runner. It also includes a PostgreSQL database connection pre-configured.

New projects should be built using Django 3, but this project is a reference for existing migrating sites. Version 2 is in legacy support.

Features:

  • Python 3.8
  • PostgreSQL 12
  • Automatic TLS certificates
  • Pipfile-based build

View the repository on GitHub.

Deploy on Platform.sh

Django 3

Django 3

This template deploys the Django 3 application framework on Platform.sh, using the gunicorn application runner. It also includes a PostgreSQL database connection pre-configured.

Django is a Python-based web application framework with a built-in ORM.

Features:

  • Python 3.8
  • PostgreSQL 12
  • Automatic TLS certificates
  • Pipfile-based build

View the repository on GitHub.

Deploy on Platform.sh

Flask

Flask

This template demonstrates building the Flask framework for Platform.sh. It includes a minimalist application skeleton that demonstrates how to connect to a MariaDB server for data storage and Redis for caching. The application starts as a bare Python process with no separate runner. It is intended for you to use as a starting point and modify for your own needs.

Flask is a lightweight web microframework for Python.

Features:

  • Python 3.8
  • MariaDB 10.4
  • Redis 5.0
  • Automatic TLS certificates
  • Pipfile-based build

View the repository on GitHub.

Deploy on Platform.sh

Pelican

Pelican

This template provides a basic Pelican skeleton. Only content files need to be committed, as Pelican itself is downloaded at build time via the Pipfile. All files are generated at build time, so at runtime only static files need to be served.

Pelican is a static site generator written in Python and using Jinja for templating.

Features:

  • Python 3.8
  • Automatic TLS certificates
  • Pipfile-based build

View the repository on GitHub.

Deploy on Platform.sh

Pyramid

Pyramid

This template builds Pyramid on Platform.sh. It includes a minimalist application skeleton that demonstrates how to connect to a MariaDB server for data storage and Redis for caching. It is intended for you to use as a starting point and modify for your own needs.

Pyramid is a web framework written in Python.

Features:

  • Python 3.8
  • MariaDB 10.4
  • Redis 5.0
  • Automatic TLS certificates
  • Pipfile-based build

View the repository on GitHub.

Deploy on Platform.sh

Python 3 running UWSGI

Python 3 running UWSGI

This template provides the most basic configuration for running a custom Python 3.7 project. It includes the `platformshconfig` package and demonstrates using it to connect to MariaDB and Redis. It can be used to build a very rudimentary application but is intended primarily as a documentation reference. The application runs through the UWSGI runner.

Python is a general purpose scripting language often used in web development.

Features:

  • Python 3.8
  • MariaDB 10.4
  • Redis 5.0
  • Automatic TLS certificates
  • Pipfile-based build

View the repository on GitHub.

Deploy on Platform.sh

Wagtail

Wagtail

This template builds the Wagtail CMS on Platform.sh, using the gunicorn application runner. It includes a PostgreSQL database that is configured automatically, and a basic demonstration app that shows how to use it. It is intended for you to use as a starting point and modify for your own needs. You will need to run the command line installation process by logging into the project over SSH after the first deploy.

Wagtail is a web CMS built using the Django framework for Python.

Features:

  • Python 3.8
  • PostgreSQL 12
  • Automatic TLS certificates
  • Pipfile-based build

View the repository on GitHub.

Deploy on Platform.sh


Ruby 

View the Ruby documentation.

Ruby on Rails

Ruby on Rails

This template builds Ruby on Rails 5 on Platform.sh. It includes a bridge library that will auto-configure most databases and services, and ships with PostgreSQL out of the box. Otherwise it is the same as the result of running "rails new".

Rails is an opinionated rapid application development framework written in Ruby.

Features:

  • Ruby 2.6
  • PostgreSQL 11
  • Automatic TLS certificates
  • Bundler-based build

View the repository on GitHub.

Deploy on Platform.sh