docker-node-example
coolify
docker-node-example | coolify | |
---|---|---|
12 | 112 | |
198 | 14,427 | |
- | 14.8% | |
7.6 | 10.0 | |
17 days ago | 1 day ago | |
Shell | PHP | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
docker-node-example
-
Multi stage dockerfile examples in node.js?
Here's a full example project where a Node app is split up between a front-end and back-end with multi-stage builds: https://github.com/nickjj/docker-node-example
-
Docker-compose - how to control which services are run?
Here's a walk through on how to use them https://nickjanetakis.com/blog/docker-tip-94-docker-compose-v2-and-profiles-are-the-best-thing-ever and here's an example Node project that's using profiles https://github.com/nickjj/docker-node-example.
- Looking to use Docker & Docker Compose in production and need advice.
-
Docker Compose Examples
- https://github.com/nickjj/docker-node-example
-
Ask HN: What is the best source to learn Docker in 2023?
If your goal is to "learn Docker", I have around 100+ free blog posts and YouTube videos at: https://nickjanetakis.com/blog/tag/docker-tips-tricks-and-tu...
https://github.com/nickjj/docker-node-example is an up to date Node example[0] that's ready to go for development and production and sets up GitHub Actions. Its readme links to a DockerCon talk from about a year ago that covers most of the patterns used in that project and if not some of my more recent blog posts cover the rest.
It doesn't cover feature branch deployments tho, in my opinion that's unrelated to Docker.
[0]: You can replace "node" in the GitHub URL with flask, rails, django and phoenix for other example apps in other tech stacks.
- docker-compose file repository?
- How to setup flask with webpack
- docker-compose creates node_modules folder on host
-
I don't understand how to deal with node_modules in development.
A fully working example Node app that demos the above is here: https://github.com/nickjj/docker-node-example
- Docker-compose isn’t good for production?
coolify
- Open-source alternative to Heroku, Vercel, and Netlify
-
Deploy SvelteKit with SSR on Coolify (Hetzner VPS)
This is my first quick try deploying SvelteKit with the open source software Coolify by Andras Bacsai.
-
Standalone Next.js. When serverless is not an option
With a serverful approach, you can avoid these drawbacks, and the main challenge lies in selecting the platform that aligns with your requirements. Options may include AWS, Render, DigitalOcean, and others. While VPS is also an option, it's generally not recommended due to the significant setup and maintenance overhead involved (logging, monitoring, CI/CD pipelines, etc.). However, you can make your life easier by leveraging tools like Coolify that help managing your VPS.
-
Let's build a screenshot API
Heroku and similar providers can simplify the server management issues, but you can use something much better that can combine both cost efficiency and ease of deployment—Coolify:
-
Quantum alternatives - coolify and meli
3 projects | 12 Mar 2024
-
Serverless Horrors
> VPSs being “easy to manage” is a strong option full of assumptions.
There are definitely many footguns with managing a VPS but I think the threshold to get vaguely competent with a VPS is not really that far off with getting familiar with the average cloud platform - which comes with its own dangers, like the near-total inability to put an upward cap on fees that that person found out with Netlify recently.
Having a $5 VPS and knowing it's never going to cost your more than $5 might balance out a lot of things on the other side for a lot of people.
(And, as a bonus, it comes with the benefit of having a better idea of what is going on on the actual computer which is running your code.)
Platforms like https://coolify.io/ (which I have not tried, but looks interesting) seem to give you some of the abstractions that you get in cloud platforms to save you having to mess with too much low level stuff and become an expert in a billion separate systems.
If you have Debian with automatic updates that does most of the heavy lifting for you. The hardest problem I have is resisting the temptation to just install everything, because the cost to do it is capped at my VPS monthly fee.
So yep, it comes with a lot of assumptions. But so does everything!
-
Netlify just sent me a $104K bill for a simple static site
https://coolify.io/ might be worth a look
-
The 2024 Web Hosting Report
The modern iteration of these tools has taken the developer experience learnings from the Platform as a Service (PaaS) category, and will bring them to your own VM, giving you your own personal PaaS. Example of this include Dokku, Coolify, Caprover, Cloud66 and many more!
- Coolify – Self-Hostable PaaS
- Open-source and self-hostable Heroku/Netlify alternative
What are some alternatives?
full-stack-fastapi-template - Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
CapRover - Scalable PaaS (automated Docker+nginx) - aka Heroku on Steroids
headwind - An opinionated Tailwind CSS class sorter built for Visual Studio Code
Dokku - A docker-powered PaaS that helps you build and manage the lifecycle of applications
truss - A TypeScript DSL for writing utility CSS in React/JSX
porter - Kubernetes powered PaaS that runs in your own cloud.
docker-phoenix-example - A production ready example Phoenix app that's using Docker and Docker Compose.
meli - Platform for deploying static sites and frontend applications easily. Automatic SSL, deploy previews, reverse proxy, and more.
tailblocks - Ready-to-use Tailwind CSS blocks.
Empire - Empire is a PowerShell and Python post-exploitation agent.
class-types.macro
pack - CLI for building apps using Cloud Native Buildpacks