HackerTrans
トップ新着トレンドコメント過去質問紹介求人

blindlobstar

no profile record

投稿

Ask HN: How do you self-host your apps?

2 ポイント·投稿者 blindlobstar·2 か月前·6 コメント

コメント

blindlobstar
·2 か月前·議論
clean setup! I have a raspberry pi but haven't configured it yet.

a few questions if you don't mind: 1. how do you manage deployments? Is it some sort of sh script or CI/CD pipeline? 2. why do you choose k8s for some services? just for learning?
blindlobstar
·2 か月前·議論
thanks for sharing.

nice to see more people choosing docker swarm as an orchestrator. the idea with database management is good, been thinking about similar feature to introduce community recipes for databases and other services
blindlobstar
·3 か月前·議論
> Can I deploy postgres with network storage that will mount automatically on node where container is launched?

Yes (if I'm getting your question right). here is an example of nfs volume: https://docs.docker.com/reference/compose-file/volumes/#driv...
blindlobstar
·3 か月前·議論
'docker stack deploy' covers most of the cases. But yeah, there is still some problems like: "update a config or a secret", that require manually invoking additional commands (or via scripts)
blindlobstar
·3 か月前·議論
Why both posts mention docker compose and not mentioning docker swarm. Being using it for my projects for long time. And it's so nice. Similar syntax, easy networking, rollout strategy, easy to add nodes to cluster.

You can have one template docker-compose.yaml file and separate deployment files for different envs, like: docker-compose.dev.yaml, docker-compose.prod.yaml

I think swarm is really underrated