Snipe-IT rehearsal: slow starts, image volumes, HTML-as-text mail

Deploy waits up to 5 minutes for an app to answer, printing its last log
line every 30 s, and stops early when the container exits or restarts
three times. It notes VOLUMEs the image declares outside /data, and
uninstall removes anonymous volumes (down -v). coreapp inbox renders HTML
sent in a text/plain part.

Skill: no first-come setup wizard even without sso (admin at startup,
password by reset), no new sign-in code for apps without OIDC, upstream
scripts that read shell variables, a step between upstream steps, the
image's VOLUMEs, a slow first install, three-part min_version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-04 13:12:46 -07:00
co-authored by Claude Opus 5.5
parent f4b869decd
commit 114b364cef
7 changed files with 112 additions and 15 deletions
+9 -4
View File
@@ -100,8 +100,9 @@ that are read by shell and YAML:
listens on; for a new app, 8080. It's only reachable inside the Core.
- `health`: a path starting with `/`. Deploy asks for it on the app's
address with the app's host name (`Host: <name>.<domain>`,
`X-Forwarded-Proto: https`, as traefik sends), and waits until it answers
with any status below 500 (so `/` is fine for an app without a health
`X-Forwarded-Proto: https`, as traefik sends), and waits (up to 5
minutes, showing the app's last log line every 30 seconds) until it
answers with any status below 500 (so `/` is fine for an app without a health
endpoint, even if it redirects to a sign-in page); `coreapp check` wants a
2xx there, so prefer a path that returns 200 without signing in.
- Unknown settings are refused, so a typo doesn't go unnoticed.
@@ -122,7 +123,7 @@ install it (with both versions in the message) instead of breaking later:
```toml
[postgres]
min_version = "16" # or [mysql] min_version = "11.4" (MariaDB's numbering)
min_version = "16" # up to three parts; or [mysql] min_version = "10.6.2" (MariaDB's numbering)
```
Use what the app's docs or code require, not just today's version.
@@ -299,7 +300,11 @@ If the app can't work without one of these, say so plainly in your report
rather than working around it; the gap is useful to know. The same goes for
a need that doesn't fit the app (e.g. a sign-in `[sso]` can't describe):
report it rather than writing a proxy, bridge or second service into the
app's container. If it's optional
app's container. That includes an app with no OpenID Connect sign-in
(only passwords, LDAP, SAML or a fixed provider such as Google): writing
new sign-in code into it is out of scope, so leave `sso` off and report
it. A generic OAuth2 or OIDC provider setting the app already has is fine
to point at Authelia. If it's optional
(e.g. email notifications), leave it off and note it.
## Workflow