Take care: This article is maybe outdated or at least a bit neglected. It hasn't been updated for a while.
Craft 3 setup
In our help pages we cover the setup process of Craft 4. Here we document the differences to Craft 3.
Use Craft 3
Starting from May 25th 2022 we assume every new Craft App created on fortrabbit runs on Craft 4. To deploy a Craft 3 some changes are required.
Craft 3 Environment variables
The following ENV vars Craft 3 expects. Copy the block below and paste it under the ENV var settings of your App.
All you need to change is the SECURITY_KEY
. You get it from your local .env file.
DB_DATABASE=${MYSQL_DATABASE}
DB_DRIVER=mysql
DB_PASSWORD=${MYSQL_PASSWORD}
DB_SERVER=${MYSQL_HOST}
DB_USER=${MYSQL_USER}
DB_DSN=mysql:host=${MYSQL_HOST};port=3306;dbname=${MYSQL_DATABASE}
ENVIRONMENT=production
SECURITY_KEY={REPLACE_WITH_YOUR_LOCAL_SECURITY_KEY}