social.tchncs.de is one of the many independent Mastodon servers you can use to participate in the fediverse.
A friendly server from Germany – which tends to attract techy people, but welcomes everybody. This is one of the oldest Mastodon instances.

Administered by:

Server stats:

3.9K
active users

Matthias Andrasch

I love for its stable deploy process (project config in git). But I haven't found a quick way for setting up & deploying hobby projects yet on small VPS. Same with other CMS / frameworks.

Laravel Forge or ploi are great helpers, but with extra costs.💰 But ...1/

... I could imagine that @coolifyio (or similar tools) could solve this challenge in future.

Since 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 normally a database (mysql) and redis are needed.

If devs use for local development, the database and PHP version is already defined in .ddev/config.yaml
github.com/mandrasch/ddev-craf

Maybe a small coolify script could be use here for automation on setup? 🤔 3/

GitHubddev-craftcms-vite/.ddev/config.yaml at main · mandrasch/ddev-craftcms-viteDemo repository for CraftCMS + DDEV + vite, including support for GitHub codespaces. - mandrasch/ddev-craftcms-vite

So maybe "a bridge" between and 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 ionos.co.uk/hosting/deploy-now. 4/5

www.ionos.co.ukDeploy Now » Build and Deploy via GitHub | IONOSBuild, stage and deploy sites and apps via GitHub on secure infrastructure. Supports frameworks like Symfony, Laravel, Hugo, Jekyll and more.

Would be a dream if I could just deploy hobby projects by selecting my repository from GitHub (like on Vercels interface) 🥰

@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.)

@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 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 (dev.to/mandrasch/deploy-craft-), 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.

DEV CommunityDeploy Craft CMS with DDEV, Deployer and Ploi on Hetzner Cloud - Part 1Automated deployments are awesome. A team of devs can work locally on configuration and data...

@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.