Files
app-catalog-felhom.eu/templates/glance/docker-compose.yml
T
admin f5f6a152b5
gates / gates (push) Successful in 1s
REVERT both drill bumps: all four app pins back to their pre-drill images
Restores templates/{vikunja,uptime-kuma,wishlist,glance}/docker-compose.yml to exactly
their content at ff9717d379 — verified byte-identical for every image line.

catalog_since is 2026-09-21 on all four rather than the older pre-drill dates: the
catalog-since gate requires an image move to carry the day's date in EITHER direction,
and a revert is a move. The bump and its revert net to zero.

This clears the vikunja alpine:3.20 negative-control edge, which a background security
review correctly flagged as a supply-chain change. It was deliberate, it is the
documented C3-class control, no customer or demo box runs vikunja, and a deployed app
is frozen at its own pin since v0.235.0 — but the window is now closed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
2026-09-21 14:54:58 +02:00

90 lines
3.0 KiB
YAML

# Glance - Minimalista információs dashboard
# Domain: ${SUBDOMAIN}.${DOMAIN}
# Database: None (file-based)
# RAM: ~20M (mem_limit: 128M) | Pi-compatible: Yes
#
# Environment variables:
# DOMAIN - Your domain (e.g., demo-felhom.eu)
services:
glance:
image: glanceapp/glance:v0.8.5
container_name: glance
restart: unless-stopped
environment:
- TZ=Europe/Budapest
# R-473: the image ships NO default config and exits at once without /app/config/glance.yml, so
# every fresh install crash-looped (measured 2026-09-13 on demo-hp: 13 restarts). First boot now
# seeds a small Hungarian start page (clock, calendar, weather, news, a link to the box's own
# dashboard); the customer edits it afterwards in the Fájlok app or through the config volume.
# The seed is written ONLY when the file is absent — an existing config is never touched.
entrypoint:
- /bin/sh
- -c
- |
if [ ! -f /app/config/glance.yml ]; then
echo "[felhom] first boot — seeding a default glance.yml"
cat > /app/config/glance.yml <<'GLANCE'
pages:
- name: Kezdőlap
columns:
- size: small
widgets:
- type: clock
hour-format: 24h
timezones:
- timezone: Europe/Budapest
label: Budapest
- type: calendar
- type: weather
location: Budapest, Hungary
units: metric
hour-format: 24h
- size: full
widgets:
- type: bookmarks
groups:
- title: Saját szolgáltatások
links:
- title: Felhom vezérlőpult
url: https://felhom.${DOMAIN}
- type: rss
title: Hírek
limit: 10
feeds:
- url: https://telex.hu/rss
title: Telex
- url: https://hvg.hu/rss
title: HVG
GLANCE
fi
exec /app/glance --config /app/config/glance.yml
volumes:
- glance_config:/app/config
networks:
- traefik-public
deploy:
resources:
limits:
memory: 128M
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:8080"]
interval: 30s
timeout: 5s
retries: 3
start_period: 30s
labels:
- "traefik.enable=true"
- "traefik.http.routers.glance.rule=Host(`${SUBDOMAIN}.${DOMAIN}`)"
- "traefik.http.routers.glance.entrypoints=websecure"
- "traefik.http.routers.glance.tls=true"
- "traefik.http.routers.glance.tls.certresolver=letsencrypt"
- "traefik.http.services.glance.loadbalancer.server.port=8080"
volumes:
glance_config:
networks:
traefik-public:
external: true