Deploy with Docker Compose / deploy (push) Successful in 1m1s
Quartz was already replaced by silverbullet-public; its build context moves to .deprecated/quartz. Hasura and autoheal are removed from the stack, with their compose services (and Hasura's nginx blocks) kept verbatim under .deprecated/ alongside a README on how to bring each back. Removes the /hasura/ route from both nginx templates and the envsubst allow-list, and updates the docs and comments that referred to the three services. With autoheal gone nothing restarts an unhealthy container; the healthchecks are now informational only, and the docs say so. Co-Authored-By: Claude Opus 5.5 <[email protected]>
28 lines
1.5 KiB
YAML
28 lines
1.5 KiB
YAML
# STATUS: deprecated — not part of the stack. See ../README.md for how to bring
|
|
# it back. Kept verbatim from docker-compose.yml.
|
|
services:
|
|
# Watchdog: docker itself marks a container `unhealthy` but never acts on it.
|
|
# autoheal polls the docker socket and restarts anything that goes unhealthy.
|
|
# AUTOHEAL_CONTAINER_LABEL=all means "watch every container that defines a
|
|
# healthcheck" (i.e. backend and python) rather than only labelled ones.
|
|
# It mounts the docker socket, which is effectively root on the host — that
|
|
# is the price of the feature. Because of that the image is pinned BY DIGEST,
|
|
# not by a floating tag: `:latest` meant any future push to Docker Hub would
|
|
# silently gain root on the Pi at the next `docker compose pull`/`up`. The
|
|
# digest below is a multi-arch index (it includes linux/arm64, which is what
|
|
# the Pi pulls) and was the content of `willfarrell/autoheal:latest` at the
|
|
# time of pinning. To bump it: pull the new tag, `docker image inspect
|
|
# willfarrell/autoheal:<tag> --format '{{index .RepoDigests 0}}'`, and paste
|
|
# the digest here — never go back to a bare tag.
|
|
# Deliberately NOT on app-network: it talks only to the socket.
|
|
autoheal:
|
|
image: willfarrell/autoheal@sha256:4ce976e9033b41426d44633295d6a08f9bc5929b27866352d91b31d4f6b26447
|
|
container_name: autoheal
|
|
restart: always
|
|
environment:
|
|
- AUTOHEAL_CONTAINER_LABEL=all
|
|
- AUTOHEAL_INTERVAL=30
|
|
- AUTOHEAL_START_PERIOD=60
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|