Skip to content

Latest commit

 

History

History
52 lines (38 loc) · 791 Bytes

File metadata and controls

52 lines (38 loc) · 791 Bytes
title description
Installation
Install Laravel Coolify package

Install Package

composer require stumason/laravel-coolify

Run Installer

php artisan coolify:install

This will:

  • Publish config/coolify.php
  • Publish dashboard assets
  • Generate Dockerfile and docker configs
  • Configure TrustProxies middleware

Get API Token

  1. Log in to Coolify
  2. Go to Settings > API Tokens
  3. Create new token
  4. Copy the token

Configure

Add to .env:

COOLIFY_URL=https://your-coolify.com
COOLIFY_TOKEN=your-api-token

Optional:

COOLIFY_TEAM_ID=     # If multiple teams
COOLIFY_TIMEOUT=60   # Request timeout seconds
COOLIFY_CACHE_TTL=30 # Cache duration seconds

Verify

php artisan coolify:status --all