Files
app-catalog-felhom.eu/templates/gramps-web/docker-compose.yml
T
admin 9938c5564e gramps-web: raise memory 384M -> 1024M (OOM proven during validation)
v25.6.0 could not stay up under the 384M limit. Live evidence from the demo box:

  [ERROR] Worker (pid:559) was sent SIGKILL! Perhaps out of memory?
  [ERROR] Worker (pid:556) was sent SIGKILL! Perhaps out of memory?

gunicorn kept booting replacement workers that were killed in turn, so the
container never reached healthy and Traefik returned 404. mem_limit in
.felhom.yml raised to match the compose limit; mem_request 100M -> 384M.

Campaign 7 catalog sweep.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Nn3VgQk9iwEGgyx6QJ2NvE
2026-07-19 00:02:25 +02:00

51 lines
1.4 KiB
YAML

# Gramps Web - Családfa készítő és genealógiai szoftver
# Domain: ${SUBDOMAIN}.${DOMAIN}
# Database: None (file-based)
# RAM: ~100M (mem_limit: 384M) | Pi-compatible: Yes
#
# Environment variables:
# DOMAIN - Your domain (e.g., demo-felhom.eu)
# GRAMPSWEB_SECRET_KEY- Titkosítási kulcs (auto-generated)
services:
gramps-web:
image: ghcr.io/gramps-project/grampsweb:v25.6.0
container_name: gramps-web
restart: unless-stopped
environment:
- TZ=Europe/Budapest
- GRAMPSWEB_TREE=Family Tree
- GRAMPSWEB_SECRET_KEY=${GRAMPSWEB_SECRET_KEY}
volumes:
- gramps_data:/app/data
- gramps_media:/app/media
- gramps_tmp:/tmp
networks:
- traefik-public
deploy:
resources:
limits:
memory: 1024M
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:5000"]
interval: 30s
timeout: 5s
retries: 3
start_period: 30s
labels:
- "traefik.enable=true"
- "traefik.http.routers.gramps-web.rule=Host(`${SUBDOMAIN}.${DOMAIN}`)"
- "traefik.http.routers.gramps-web.entrypoints=websecure"
- "traefik.http.routers.gramps-web.tls=true"
- "traefik.http.routers.gramps-web.tls.certresolver=letsencrypt"
- "traefik.http.services.gramps-web.loadbalancer.server.port=5000"
volumes:
gramps_data:
gramps_media:
gramps_tmp:
networks:
traefik-public:
external: true