borgmatic-collective / docker-borgmatic

Borgmatic in Docker
GNU General Public License v3.0
314 stars 88 forks source link

Add a prototype example docker-compose environment. #239

Closed zorbathut closed 10 months ago

zorbathut commented 1 year ago

This is very unfinished; it's basically what I put together from reading documentation. But man, having this would have made my setup a lot faster!

Suggestions and improvements welcome. I think having this is better than not having it, but there are absolutely ways to make it even better.

Closes #238 .

zorbathut commented 1 year ago

Don't know if anyone is out there, but I'd like to get this in!

grantbevis commented 1 year ago

What benefit does this bring over the documentation we already have? There's a example docker-compose already and the borgmatic documentation is top notch.

zorbathut commented 1 year ago

Honestly, I didn't even see it when I was reading documentation, I think I'd ended up clicking on the modem7 link

However, it also isn't really a single self-contained example, it's kind of awkwardly interlaced with the base image definition. And the docker-compose that exists doesn't really provide much in the way of explanation for someone who doesn't already know how it works; a bunch of unfilled-out env variables doesn't help without sensible defaults.

(it's also out of date because it still includes .borgmatic)

I think an important goal for examples is an example that can be followed along and filled out, and that's what I'm going for here. Some people (like myself) work best from examples.