• Add server environment variables database table and model
  • Implement CRUD operations for server environment variables
  • Add automatic server identity variables (COOLIFY_SERVER_*)
  • Modify deployment logic to merge server-level env vars
  • Add UI components for managing server environment variables
  • Add API endpoints for server environment variables
  • Update server sidebar with environment variables menu
  • Ensure proper precedence: system → server → application env vars
  • Support build-time and runtime server environment variables
  • Maintain backward compatibility with existing deployments
  • Removed COOLIFY_SERVER_IP and COOLIFY_SERVER_HOSTNAME variables completely
  • Kept only non-sensitive identifiers: COOLIFY_SERVER_ID - Internal database ID COOLIFY_SERVER_NAME - User-defined server name COOLIFY_SERVER_UUID - Randomly generated UUID

Resolves: Multi-server deployments now receive server-specific environment variables

Changes

  • Database: Added server_environment_variables table with encrypted storage
  • Models: Created ServerEnvironmentVariable model with polymorphic relationships
  • API: Added CRUD endpoints for server environment variables management
  • UI: Added Livewire component and Blade templates for server env var management
  • Deployment: Modified ApplicationDeploymentJob to merge server-level env vars
  • Identity: Added automatic COOLIFY_SERVER_* variables for server identification
  • Navigation: Updated server sidebar with environment variables menu item
  • Security: Implemented encrypted storage and proper access controls

##Issues fix #7738

/claim #7738

Claim

Total prize pool $111
Total paid $0
Status Pending
Submitted December 23, 2025
Last updated December 23, 2025

Contributors

VA

Vaidik Sule

@vaidiksule

100%

Sponsors

PR

Praveen Pendyala

@pkpio

$111