docker-compose-stack

Use docker-compose and watchtower to self-deploy and auto-update a stack (by peterkeen)

Docker-compose-stack Alternatives

Similar projects and alternatives to docker-compose-stack

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better docker-compose-stack alternative or higher similarity.

docker-compose-stack reviews and mentions

Posts with mentions or reviews of docker-compose-stack. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-28.
  • What if your Pods need to trust self-signed certificates?
    5 projects | news.ycombinator.com | 28 Jun 2023
    You're right, it's a little weird. I wrote a short essay about my setup[1] but the tl;dr is that I wanted certificates distributed in the same way every other thing on my machines is distributed.

    I wanted my homeprod setup to be as hands off as possible while still allowing easy management. Each physical host is running Alpine. During provisioning I install docker, Tailscale, and manually start a "root" container that runs[2] docker compose and then starts a cron daemon. The compose commands include one or more "stack" files and are generated based on a yaml file listing the stacks for each host. Watchtower runs with a 30 second cycle time to keep everything updated, including the root container. Adding or updating services means committing and pushing a change to the root container repo, then CI builds and pushes a new image. Watchtower picks up the new image and restarts the root container, which re-runs Compose which in turn starts, stops, modifies, etc anything that's changed.

    For certificates, I tried a number of different things but ultimately settled on the method I described earlier. The purpose of the container image is to 1) transport the certificates and install them in the right spot and 2) be updatable automatically with Watchtower.

    Certificate changes are very similar to the root container, except the git repo self-modifies upon renewals (yes I keep private keys committed to git, it's a homelab, it's really not a big deal).

    [1]: https://www.petekeen.net/homeprod-management-with-docker

    [2]: https://github.com/peterkeen/docker-compose-stack/blob/main/...

  • Old School Linux Administration (My Next Homelab Generation)
    2 projects | news.ycombinator.com | 11 Sep 2022
    I really like this article just for the straightforwardness of the setup. Pets not cattle should be the home server mantra.

    My setup is not quite as simple. I have one homeprod server running Proxmox with a number of single task VMs and LXCs. A task, for my purposes, is a set of one or more related services. So I have an internal proxy VM that also runs my dashboard. I have a media VM that runs the *arrs. I have an LXC that runs Jellyfin (GPU pass through is easier with LXC). A VM running Home Assistant OS. Etcetera.

    Most of these VMs are running Docker on top of Alpine and a silly container management scheme I've cooked up[1]. I've found this setup really easy to wrap my head around, vs docker swarm or k8s or what have you. I'm even in the process of stripping dokku out of my stack in favor of this setup.

    [1]: https://github.com/peterkeen/docker-compose-stack

  • docker-compose-stack: a fun little zero-ish dependency docker compose continuous deployment tool
    1 project | /r/homelab | 2 Sep 2022
  • What is everyone using to deploy Docker?
    3 projects | /r/selfhosted | 30 Aug 2022
  • A note from our sponsor - SaaSHub
    www.saashub.com | 1 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic docker-compose-stack repo stats
4
7
3.5
about 1 month ago

peterkeen/docker-compose-stack is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of docker-compose-stack is Shell.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com