ama
docker-node-example
Our great sponsors
ama | docker-node-example | |
---|---|---|
10 | 12 | |
347 | 198 | |
- | - | |
0.0 | 7.6 | |
over 2 years ago | 10 days ago | |
Shell | ||
- | MIT License |
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.
ama
-
The Hater's Guide to Kubernetes
If you want to stick on one machine, you can always just use a single node Docker Swarm to get the fully automated zero downtime deploys you want with Docker Compose:
https://github.com/BretFisher/ama/discussions/146
-
Navigating Docker With Captains - Bret Fisher
Follow Bret here
-
Container Training
Check out Bret Fishers courses and content - https://www.bretfisher.com/
-
awesome-swarm
This Awesome List is maintained by Bret Fisher (and coming soon, maintainers #3). This is a curated list of working tools and resources for using Swarm. It is not an official list, but a community effort to help people find the best tools and resources for Swarm in 2023 and beyond.
-
who do you follow?
https://www.bretfisher.com/ - awesome guy, awesome discord (https://devops.fan). Awesome Talks
- Ask HN: What is the best source to learn Docker in 2023?
- The Docker, Kubernetes, Terraform, and AWS crash course series
-
Fully Docker support Example Bot
Composer is not meant to run in production. It is only meant for development or building images. Make sure to read Getting started with swarm mode and check this if you want to use run your build image on a proper environment. (recommended)
-
Dockerfile best practice
I don't know if I would call myself an expert, but worrying about security is a big concern of mine and my job. While there are some security benefits to running your app in a container, you're correct in thinking there are some things to keep in mind while writing your Dockerfiles and using Docker. Check out Bret Fisher's write up on security concerns using Docker. This is the second time that I've mentioned him. He's a Docker Captain and recognized by Docker as an expert. His advice is sound.
-
docker-compose or docker swarm for 1 host
Only one host for production environment. What to use: docker-compose or single node swarm? · Issue #8 · BretFisher/ama (github.com)
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?
What are some alternatives?
php-docker-good-defaults - *WORK IN PROGRESS* sample PHP/Laravel app for Docker examples
full-stack-fastapi-template - Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
Laradock - Full PHP development environment for Docker.
headwind - An opinionated Tailwind CSS class sorter built for Visual Studio Code
cluster-api - Home for Cluster API, a subproject of sig-cluster-lifecycle
truss - A TypeScript DSL for writing utility CSS in React/JSX
awesome-swarm - All the awesome tools, docs, and training on Docker and Mirantis Swarm Mode (SwarmKit)
docker-phoenix-example - A production ready example Phoenix app that's using Docker and Docker Compose.
container.training - Slides and code samples for training, tutorials, and workshops about Docker, containers, and Kubernetes.
tailblocks - Ready-to-use Tailwind CSS blocks.
ama - [[I'm slow at replying these days, but I hope to get back to answering questions eventually]] Ask me anything!
class-types.macro