Files
deepstock/docker-compose.yml
Dorian 64dc5cef9c fix: hero wordmark fills mobile/tablet width + Portainer pull workaround
CSS: hero h1 used `(100vw - 48px) / 7` on mobile and `-64px / 7` on
tablet — the wider gutter assumption left 12-16px of unused white
space inside the 16px hero padding. Tightened both to `(100vw - 32px)
/ 7` so the wordmark spans the actual hero content area. Divisor 7
preserves the safety margin for the wider "Kammergut" wordmark.

Compose: dropped the `image: kammergut:0.1.0` field. Older Portainer
Compose runtimes (pre-v2.20) ignore `pull_policy: build` and still
ran `compose pull` against the image name, hitting "pull access
denied". Without an image name there's nothing for compose pull to
attempt; build runs during `up`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-05 15:08:33 +01:00

20 lines
591 B
YAML

services:
kammergut:
build:
context: .
dockerfile: Dockerfile
# No `image:` field on purpose — Portainer's `docker compose pull`
# step would otherwise try to fetch this name from a registry and
# fail with "pull access denied" since the image is built locally.
# Compose builds from `build:` during `up`.
container_name: kammergut
restart: unless-stopped
ports:
- "4422:80"
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1/"]
interval: 30s
timeout: 3s
retries: 3
start_period: 5s