Configure a database

Open a database resource and select Configuration to change its engine settings, credentials, networking, storage, health check, and resource limits.

The available pages depend on the database engine and the resource state. For example, Backups is available only for engines supported by Coolify's database backup workflow, while Import Backup is available only for supported restore paths.

Configuration pages

Configuration pageWhat it controlsGuide
GeneralDatabase identity, image, credentials, engine settings, network access, and proxy settings.Review General settings
Environment VariablesRuntime variables passed to the database container.Configure environment variables
ServersThe server and destination where the database runs.Configure multi-server deployments
Persistent StorageVolumes, directories, and files mounted into the database container.Configure persistent storage
Import BackupRestore a supported PostgreSQL, MySQL, MariaDB, or MongoDB backup. The page is also shown for unsupported engines, where Coolify displays that restore is not supported.Restore a database
WebhooksAuthenticated requests for database operations from external automation.Deploy webhooks
HealthcheckThe Docker health probe used to report database health.Configure health checks
Resource LimitsCPU and memory limits applied to the database container.Configure resource limits
Resource OperationsClone the database to another destination or move it between projects and environments.Clone or move a database
MetricsCPU and memory usage for the database container.Monitor resource metrics
TagsTeam-level labels used to organize resources.Organize resources with tags
Danger ZoneDestructive actions, including deleting the database resource.Delete a database

Apply configuration changes

Saving a setting updates the database resource configuration. It does not always recreate the running container immediately.

Restart or redeploy the database after changing settings that affect its container, including:

  • image, credentials, or engine configuration
  • environment variables
  • persistent storage mounts
  • ports or public proxy settings
  • health-check settings
  • resource limits

Use the configuration-change indicator and the database status to confirm whether Coolify is waiting for a restart or redeploy.

Back up before changing database configuration

Take and verify a database backup before changing a production image, data mount, engine configuration, or credential. A configuration change can prevent the database from starting even when the stored data is intact.

Continue with configuration guides

On this page