Multiple Environments
Environment Support
Section titled “Environment Support”The dashboard supports multiple environments within a single Coolify project. Use the environment switcher in the sidebar to switch between environments like production, staging, and development.
Provisioning Environments
Section titled “Provisioning Environments”Provision separate environments within the same project:
# Productionphp artisan coolify:provision \ --name="My App" \ --environment=production \ --branch=main \ --all
# Stagingphp artisan coolify:provision \ --name="My App Staging" \ --environment=staging \ --branch=develop \ --allEach environment gets its own application, database, and cache resources.
Coolify Project Structure
Section titled “Coolify Project Structure”Dashboard
Section titled “Dashboard”The dashboard includes an environment switcher in the sidebar. Click on the current environment name to see all available environments and switch between them.
Each environment view shows:
- Application status and deployment history
- Database and cache resources for that environment
- Environment-specific logs and configuration
CLI Commands with UUID
Section titled “CLI Commands with UUID”For CLI operations targeting specific resources, use the --uuid flag:
# Deploy specific applicationphp artisan coolify:deploy --uuid=staging-app-uuid
# Check specific application statusphp artisan coolify:status --uuid=prod-app-uuid
# View specific application logsphp artisan coolify:logs --uuid=staging-app-uuidView All Resources
Section titled “View All Resources”php artisan coolify:status --allShows all applications and databases across your Coolify instance.