... I could imagine that @coolifyio (or similar tools) could solve this challenge in future.
Since #coolify follows a Vercel-like approach (1. Choose repo from GitHub, Nixpacks does composer and npm build, manually add db + .env values), things could be automated further. 2/
For #craftcms normally a database (mysql) and redis are needed.
If devs use #DDEV for local development, the database and PHP version is already defined in .ddev/config.yaml
https://github.com/mandrasch/ddev-craftcms-vite/blob/main/.ddev/config.yaml
Maybe a small coolify script could be use here for automation on setup? 3/
So maybe "a bridge" between #DDEV and #coolify would be one way to achieve 1-click setups for craftcms (or other php projects) on coolify?
I guess git-driven PHP deployments could be optimized in general, a professional example is Ionos DeployNow #devops #gitops https://www.ionos.co.uk/hosting/deploy-now. 4/5
Would be a dream if I could just deploy #php hobby projects by selecting my repository from GitHub (like on Vercels interface) #devops #gitops #developergoals
@mandrasch Servd’s starter plan is as close to that experience as you can get. Not free, though it does allow indefinite trial periods https://servd.host/pricing
@croxton Thanks very much! Already heard about Servd, seems nice. Fortrabbit is also close I guess as well as new Craft Cloud.
(But would love to get it done on a Hetzner 6$ VPS without using trial periods. It already became a bit easier with Coolify.)
@mandrasch maybe @platformsh can work for you?
@alessandrolai @platformsh Thanks, platformsh seems interesting with config via .platform/services.yaml But it can't be self-hosted on something like Hetzner VPS afaik.
(Something like the services.yaml config for self-hosting would be cool, maybe #coolify #coolifyio could also integrate yaml based configs in future)
@mandrasch using gitlab pipeline and deployer - works great for my needs
@mrbase thanks for reply!
I tried Deployer (https://dev.to/mandrasch/deploy-craft-cms-with-ddev-deployer-and-ploi-on-hetzner-cloud-part-1-27l2), but in the end it took me some time to get it all right and docs were not always 100% clear to me. But awesome open source project!
Currently looking for the 1-click Vercel-like experience where I start by selecting a git repository.
@mandrasch yeah, some of the steps are a bit odd, but once its set up, it runs fine.
My next step is only to deploy on merge to main, and disallow pushing - so only reviewed code goes into production.