coolify_create_database
Create a new database in Coolify, selecting the engine type, server, project, and environment. Set credentials, public access, and resource limits.
Instructions
[WRITE] Create a new Coolify database
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Database name | |
| type | Yes | Database engine type | |
| image | No | Docker image (e.g. postgres:16-alpine) | |
| is_public | No | Make database publicly accessible | |
| description | No | Database description | |
| limits_cpus | No | CPU limit (e.g. 0.5, 2) | |
| public_port | No | Public port number | |
| server_uuid | Yes | UUID of the server to deploy on | |
| type_config | No | Type-specific config. Postgres: postgres_user, postgres_password, postgres_db. MySQL/MariaDB: mysql_root_password, mysql_database, mysql_user, mysql_password. MongoDB: mongo_initdb_root_username, mongo_initdb_root_password. Redis: redis_password. ClickHouse: clickhouse_admin_user, clickhouse_admin_password | |
| project_uuid | Yes | UUID of the project | |
| custom_fields | No | Additional fields not listed above (advanced) | |
| limits_memory | No | Memory limit (e.g. 512m, 1g) | |
| instant_deploy | No | Deploy immediately after creation | |
| environment_name | Yes | Environment name (e.g. 'production') |