General settings

Open a database resource, then select Configuration > General. The page contains common resource settings and controls specific to the selected database engine.

Common settings

SettingWhat it controls
NameThe database name shown throughout Coolify.
DescriptionOptional information about the database or its owner.
ImageThe Docker image and tag used to run the database.
Credentials and initial databaseThe account and database values used by the engine's entrypoint and Coolify's connection details. The labels vary by engine.
Ports MappingsDocker host-to-container mappings such as 15432:5432.
Make it publicly availableStarts a separate TCP proxy for external clients.
Public PortThe server port used by the public TCP proxy.
Proxy Timeout (seconds)How long the public proxy keeps an idle connection open. The default is 3600; the minimum is 1.
Custom engine configurationOptional configuration text mounted or passed to the selected database image.

Coolify does not expose a public database endpoint by default. Prefer the Internal URL for applications on the same destination network. Read Network access before enabling public access.

Engine-specific settings

The available controls change with the selected engine:

EngineAdditional settings
PostgreSQLInitial database arguments, host authentication method, custom PostgreSQL configuration, and initialization scripts.
MySQLRoot and normal-user credentials, initial database, and custom MySQL configuration.
MariaDBRoot and normal-user credentials, initial database, and custom MariaDB configuration.
MongoDBInitial root credentials, initial database, and custom MongoDB configuration.
RedisUsername, password, and custom Redis configuration.
DragonflyPassword and supported custom Docker options.
KeyDBPassword and custom KeyDB configuration.
ClickHouseInitial administrator credentials and the native database port.

Keep credentials synchronized

Coolify uses the values saved in General to build connection URLs and run database automation. If you change a username, password, or initial database directly inside the database, update the matching value in Coolify as well.

Redis, Dragonfly, and KeyDB apply authentication through container configuration or environment variables. Follow the engine guide when changing those values so the running database and Coolify use the same credentials.

Apply changes

Select Save, then restart or redeploy the database when Coolify marks the configuration as changed. Confirm the database starts successfully and copy the updated Internal URL from the resource after changing connection values.

Do not change a production image without a migration plan

Changing the Docker image can change the database major version or available configuration. Take a verified backup, check the engine upgrade procedure, and confirm the persistent data path before deploying the new image.

On this page