KalypsoDev / sonrisa-deva-front

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

deploy with coolify

hacknlove opened this issue · comments

  1. Add domains to DNS
    imagen
    imagen

  2. Set your wildcard domain in the server configuration, so træfik can generate ssl certificates
    imagen

  3. Click SAVE
    imagen

  4. Click restart proxy so it uses the new configuration
    imagen

  5. Install Coolify

  6. Create project
    imagen

  7. Open environment
    imagen

  8. Add Resource
    imagen

  9. Choose MariaDB
    imagen

  10. Choose server
    imagen

  11. Choose destination
    imagen

  12. Set users, and passwords,or copy the random ones. You'll need them later to set the environment variables
    imagen

  13. Press start
    imagen
    imagen

  14. Go back to the environment page
    imagen

  15. Add resource and choose Public repository
    imagen

  16. Select a server (localhost)
    imagen

  17. Select a destination
    imagen

  18. Paste the repo url and set the port to 80
    imagen
    The nixpack builder is good enough for this case. If you have specific needs you can use Dockerfile or Docker-compose build packs
    imagen

  19. Set php artisan migrate as Post-deployment Command, and PRESS ENTER to save the changes.
    imagen
    imagen

  20. Add environment variables
    imagen

  21. Click "Developer View"
    imagen

  22. Paste all variables
    imagen

  23. Use * for FRONTEND_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.

  24. Set the domain
    imagen

  25. Click deploy
    imagen

  26. Go to new resource again
    imagen

  27. Add public repository, and follow the same steps until pasting the repo URL

  28. Set it as static
    imagen

  29. set the domain
    imagen

  30. Set the install and build commands
    imagen

  31. Set the backend URL
    imagen

  32. click deploy
    imagen

  1. set the domain
    la-sonrisa-de-deva, no la-mirada-de-deva