Configure
Last updated
Was this helpful?
Last updated
Was this helpful?
To configure your Wordpress Capsule, navigate to the "Config" tab.
Your WordPress Capsule needs to connect to a MySQL Data Capsule. Click "Edit" in the "Wordpress Config" section to select a MySQL Capsules from your Space.
Click "Edit" in the "Wordpress Config" section to edit the name of your WordPress database. The default is app
.
Your WordPress Capsule needs to connect to a Peristent Storage Capsule. Click "Edit" in the "Wordpress Config" section to select a Peristent Storage Capsule from your Space.
WordPress Capsules automatically get these environment variables:
WORDPRESS_DB_HOST
- Database server location
WORDPRESS_DB_NAME
- Database name
WORDPRESS_DB_USER
- Database username
WORDPRESS_DB_PASSWORD
- Database password
APP_URL
- Your site's public URL
To view variable values, click "show" in the "Environment Variables" section.
To add custom variables:
Click "Key/Val Editor" or "Text Editor" in the "Environment Variables" section
Edit the variable "Name" and "Value"
Click "Save"
Add custom PHP settings if needed, like upload sizes or memory limits.
Leave the field empty to use default settings.