Multiple Applications
Multiple Environments
Section titled “Multiple 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 provisioning creates a separate record in coolify_resources. The most recent becomes the default.
Using Specific Resources
Section titled “Using Specific Resources”Override the default with --uuid:
# Deploy stagingphp artisan coolify:deploy --uuid=staging-app-uuid
# Check production statusphp artisan coolify:status --uuid=prod-app-uuid
# View staging 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.
Coolify Project Structure
Section titled “Coolify Project Structure”Dashboard
Section titled “Dashboard”The dashboard shows the default resource. To manage multiple environments:
- Use Coolify’s web UI for full environment management
- Or use
--uuidflags with artisan commands
The dashboard includes a direct link to the Coolify console for each resource.