A guide on how to deploy Symfony with Coolify
Build Pack
to nixpacks
APP_ENV
APP_SECRET
NIXPACKS_PHP_FALLBACK_PATH
to /index.php
NIXPACKS_PHP_ROOT_DIR
to /app/public
Ports Exposes
to 80
Post-deployment script
:
php bin/console doctrine:migrations:migrate --all-or-nothing --no-interaction
TRUSTED_PROXIES
with the IP of your server