nomad
created pr with
8.1
cmds
checkout latest patchset:
ssh pr.in0rdr.ch print 8 | git am -3checkout any patchset in a patch request:
ssh pr.in0rdr.ch print 8.[rev] | git am -3add changes to patch request:
git format-patch main --stdout | ssh pr.in0rdr.ch pr add 8
Patchset
8.1
→ feat(git): anubis sidecar
Andreas Gruhler
feat: RemoteIPProxyProtocol
2026-03-27Andreas Gruhler
fix: add podman net to trusted proxies
2026-03-30Andreas Gruhler
fix: ServerName in vHost
2026-03-31Andreas Gruhler
feat: change RemoteIPInternalProxy
2026-04-01Andreas Gruhler
feat: change RemoteIPInternalProxy
2026-04-01Andreas Gruhler
2026-04-01
feat(git): anubis sidecar
Andreas Gruhler
2026-03-27Semantic diff summary
0 added,
0 modified,
0 signature changed,
0 removed
across 0 analyzed files
(2 files skipped: unsupported file type)
+43
-1
hcl/default/git/git.nomad
#
| ... | ... | @@ -117,5 +124,40 @@ job "git" { | |
| 117 | 124 | cpu = 100 | |
| 118 | 125 | } | |
| 119 | 126 | } | |
| 127 | + | ||
| 128 | + | task "anubis" { | |
| 129 | + | driver = "podman" | |
| 130 | + | ||
| 131 | + | config { | |
| 132 | + | image = "docker://ghcr.io/techarohq/anubis:v1.15.0" | |
| 133 | + | volumes = [ | |
| 134 | + | # mount the templated config from the task directory to the container | |
| 135 | + | "local/challenge-any.yml:/etc/anubis/challenge-any.yml", | |
| 136 | + | ] | |
| 137 | + | } | |
| 138 | + | ||
| 139 | + | template { | |
| 140 | + | destination = "${NOMAD_TASK_DIR}/challenge-any.yml" | |
| 141 | + | data = file("./templates/challenge-any.yml.tmpl") | |
| 142 | + | } | |
| 143 | + | ||
| 144 | + | template { | |
| 145 | + | destination = "${NOMAD_SECRETS_DIR}/default.env" | |
| 146 | + | env = true | |
| 147 | + | data = <<EOT | |
| 148 | + | DIFFICULTY=4 | |
| 149 | + | TARGET=http://{{ env "NOMAD_ADDR_stagit" }} | |
| 150 | + | HS512_SECRET="{{with secret "kv/anubis"}}{{index .Data.data.HS512_SECRET}}{{end}}" | |
| 151 | + | COOKIE_DYNAMIC_DOMAIN=True | |
| 152 | + | POLICY_FNAME=/etc/anubis/challenge-any.yml | |
| 153 | + | EOT | |
| 154 | + | } | |
| 155 | + | ||
| 156 | + | resources { | |
| 157 | + | memory = 128 | |
| 158 | + | memory_max = 256 | |
| 159 | + | cpu = 200 | |
| 160 | + | } | |
| 161 | + | } | |
| 120 | 162 | } | |
| 121 | 163 | } |