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:
@@ -1,7 +1,8 @@
|
||||
# Made by coreapps from the app's coreapp.toml. Sourced by the Core's
|
||||
# uninstallapp (so no `exit` here): stop the app, undo what it needed from
|
||||
# the Core, delete its settings and data.
|
||||
docker compose -f /federated/apps/{{NAME}}/docker-compose.yml -p {{NAME}} down
|
||||
# uninstallapp (so no `exit` here): stop the app (removing the anonymous
|
||||
# volumes its image declares), undo what it needed from the Core, delete its
|
||||
# settings and data.
|
||||
docker compose -f /federated/apps/{{NAME}}/docker-compose.yml -p {{NAME}} down -v
|
||||
for teardown in /federated/services/{{NAME}}/needs/*/teardown; do
|
||||
if [ -e "$teardown" ]; then . "$teardown"; fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user