https://github.com/herrmuellerluedenscheid/hoister
deploy and rollback containers at ease
https://github.com/herrmuellerluedenscheid/hoister
cicd contain docker-compose podman rust
Last synced: 22 days ago
JSON representation
deploy and rollback containers at ease
- Host: GitHub
- URL: https://github.com/herrmuellerluedenscheid/hoister
- Owner: HerrMuellerluedenscheid
- Created: 2025-04-24T20:21:12.000Z (26 days ago)
- Default Branch: main
- Last Pushed: 2025-04-28T07:59:11.000Z (22 days ago)
- Last Synced: 2025-04-28T08:35:15.090Z (22 days ago)
- Topics: cicd, contain, docker-compose, podman, rust
- Language: Rust
- Homepage:
- Size: 57.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Hoister 🏗
==========Deploy Docker images automatically with rollback support.
Add the label `hoister.enable=true` to your Docker Compose service.
Hoister checks if a new version of the image (under the same tag) is available.
It will download and start the updated container with the same settings, volumes, and networks as before.
In case of failure, it will automatically roll back to the last working state.Installation
------------Add the hoister.enable=true label to any service you want to manage:
```yaml
services:
example:
image: emrius11/example:latest
labels:
- "hoister.enable=true" # <- Add this label to your service
```Then, **either** download the [latest release](https://github.com/HerrMuellerluedenscheid/hoister/releases) that matches your OS or
add the Hoister container alongside your services:```yaml
services:
hoister:
image: emrius11/hoister:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
security_opt:
- no-new-privileges:true
depends_on:
- example
```Finally, push a new image to your registry using the same tag, and Hoister will automatically update the container.