| title | description |
|---|---|
Installation |
Install Laravel Coolify package |
composer require stumason/laravel-coolifyphp artisan coolify:installThis will:
- Publish
config/coolify.php - Publish dashboard assets
- Generate Dockerfile and docker configs
- Configure TrustProxies middleware
- Log in to Coolify
- Go to Settings > API Tokens
- Create new token
- Copy the token
Add to .env:
COOLIFY_URL=https://your-coolify.com
COOLIFY_TOKEN=your-api-tokenOptional:
COOLIFY_TEAM_ID= # If multiple teams
COOLIFY_TIMEOUT=60 # Request timeout seconds
COOLIFY_CACHE_TTL=30 # Cache duration secondsphp artisan coolify:status --all