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>
11 lines
489 B
Plaintext
11 lines
489 B
Plaintext
# Made by coreapps from the app's coreapp.toml. Sourced by the Core's
|
|
# 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
|
|
unset teardown
|
|
rm -rf /federated/apps/{{NAME}}
|