Skip to content

Basics

Applications ​

Applications represent the heart of your October CMS website. It's the central hub for all of its related resources like domains and databases.

Creating applications ​

Applications can be created by personal accounts, or belong to an organization. Once created, an application cannot be transfered ownership.

To create an application navigate to the desired owner's overview page and click the green "Create application" button.

From here, choose the repository containing your October CMS application, and click "Create application"

Initial deployment ​

The initial deployment will create several resources. These are only built on the first deploy, so it may take a bit longer than secondary deploys.

  • Database
  • Storage bucket
  • Platform domain
  • SSL certificate
  • Content delivery network
  • Load balancer rules

Once your initial deployment is complete, you can preview it using your platform domain at <your‑app>.octobercms.cloud

Deployment triggers ​

For new applications, push‑to‑deploy will be enabled by default. If you'd like to handle deployments manually, this feature can be disabled in "Settings".

When a reconciliation pull request is open, push‑to‑deploy is paused until that pull request is merged. Once merged, push‑to‑deploy resumes automatically.

Environment variables ​

Environment variables can be edited in "Settings". There are two entries: custom variables and injected variables. Custom variables normally override injected ones, though some injected variables cannot be overridden:

VariableReason
CMS_DB_TEMPLATESRequired for template editing
CMS_DB_ASSETSRequired for theme asset editing
FILESYSTEM_DISKPlatform-managed
AWS_ACCESS_KEY_IDPlatform-managed
AWS_SECRET_ACCESS_KEYPlatform-managed
AWS_DEFAULT_REGIONPlatform-managed
AWS_BUCKETPlatform-managed
AWS_URLPlatform-managed
AWS_ENDPOINTPlatform-managed
ASSET_URLPlatform-managed
THEMES_ASSET_URLPlatform-managed
LOG_CHANNELPlatform-managed
LOG_LEVELPlatform-managed
OCTOBER_CLOUD_APPRequired for communication with October Cloud
OCTOBER_CLOUD_SECRETRequired for communication with October Cloud

Build and deploy scripts ​

Application can define a build and deploy script in "Settings"

The build script runs during the image build, before the application is deployed. Use it for compile-time work, such as installing frontend dependencies or compiling assets.

The deploy script runs when a build is complete and before traffic is switched to the new image. Use it for release-time tasks, such as running database migrations or clearing application caches.