deploy with coolify
hacknlove opened this issue · comments
-
Set your wildcard domain in the server configuration, so træfik can generate ssl certificates
-
Install Coolify
-
Set users, and passwords,or copy the random ones. You'll need them later to set the environment variables
-
Paste the repo url and set the port to 80
The nixpack builder is good enough for this case. If you have specific needs you can use Dockerfile or Docker-compose build packs
-
Set
php artisan migrate
as Post-deployment Command, and PRESS ENTER to save the changes.
-
Use
*
forFRONTEND_URL
We had troubles making CORS and CSFR work. Using*
is a workaround to "disable" CORS. Once the cause of the problem is found, the actual URL of the site should be used instead. -
Add public repository, and follow the same steps until pasting the repo URL
- set the domain
la-sonrisa-de-deva, no la-mirada-de-deva