Skip to content

feat(database): add custom host / FQDN configuration support for database resources (#2377) - #11146

Closed
Simultech369 wants to merge 1 commit into
coollabsio:v4.xfrom
Simultech369:feat/database-custom-host-config
Closed

feat(database): add custom host / FQDN configuration support for database resources (#2377)#11146
Simultech369 wants to merge 1 commit into
coollabsio:v4.xfrom
Simultech369:feat/database-custom-host-config

Conversation

@Simultech369

Copy link
Copy Markdown

Summary of Changes

Fixes #2377/claim #2377

Added custom host / FQDN configuration support for standalone database resources in Coolify:

  1. Model Layer (app/Models/*.php): Added 'fqdn' to $fillable arrays across StandalonePostgresql, StandaloneRedis, StandaloneMysql, StandaloneMariadb, and StandaloneMongodb. Updated externalDbUrl attribute getters to evaluate $this->fqdn ?? $serverIp so custom hostnames/FQDNs are properly reflected in external connection URIs.
  2. Livewire Component (app/Livewire/Project/Database/Postgresql/General.php): Added $fqdn property, validation rule ('fqdn' => 'nullable|string'), and data syncing handling.
  3. Blade Views (resources/views/livewire/project/database/...): Standardized Custom Host / FQDN input fields across all 8 standalone database templates (postgresql, redis, mysql, mariadb, mongodb, keydb, clickhouse, dragonfly).

Verification

  • Verified model $fillable attribute arrays and externalDbUrl connection string generation.
  • Verified form element rendering across Livewire blade views.

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

This PR did not pass quality checks so it will be closed. If you believe this is a mistake please let us know.

@github-actions github-actions Bot closed this Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Add host config for Database resources

1 participant