dan
March 3, 2025, 11:36am
48
dan:
What I’m trying to sort out is a good (i.e., automated) way to sync up, at least the stacks
directory, and ideally the remaining Dockge data, to a git repo.
Looks like this is the answer:
Watch a file or folder and automatically commit changes to a git repo easily.
But it requires inotifywait
, which isn’t included in TrueNAS, so it’d need to run in a sandbox/presumably LXC under Fangtooth. Right now I’m running it in the Docker sandbox, but I’ll need to do something different (in due course) once I move to EE, I guess.
Sorted:
So, on to another app move to Compose, this time Forgejo. As with Tube Archivist, they provide a Compose file , and the Gitea docs even include instructions to add labels for ingress via Traefik (and since Forgejo is a fork of Gitea, I’d expect it to work identically). Great. So what’s my problem?
Well, the Compose file (below) exposes two ports, one for HTTP and the other for SSH. I want Traefik to terminate HTTPS and proxy traffic for the HTTP port, but I don’t expect it can do this for SS…
Also sorted: