e6afab9720
gates / gates (push) Successful in 2s
Bench (harness v3): seed read back; memory watch under real load (10 538 requests, all 200) — app memory 24.9 %, cgroup peak 43.3 %, 0 kills; abort starts-and-serves. (Its first bench watch had no real load — every request errored — and was re-run; kept as evidence.) Box (9202, guarded Update): done, seed read back, R-626 clean. 09 decision 21. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
48 lines
1.4 KiB
YAML
48 lines
1.4 KiB
YAML
# Ghost - Professzionális blog és hírlevél platform
|
|
# Domain: ${SUBDOMAIN}.${DOMAIN}
|
|
# Database: None (file-based)
|
|
# RAM: ~150M (mem_limit: 512M) | Pi-compatible: No
|
|
#
|
|
# Environment variables:
|
|
# DOMAIN - Your domain (e.g., demo-felhom.eu)
|
|
|
|
services:
|
|
ghost:
|
|
image: ghost:6.65.0-alpine
|
|
container_name: ghost
|
|
restart: unless-stopped
|
|
environment:
|
|
- TZ=Europe/Budapest
|
|
- NODE_ENV=production
|
|
- url=https://${SUBDOMAIN}.${DOMAIN}
|
|
- database__client=sqlite3
|
|
- database__connection__filename=content/data/ghost.db
|
|
volumes:
|
|
- ghost_content:/var/lib/ghost/content
|
|
networks:
|
|
- traefik-public
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 512M
|
|
healthcheck:
|
|
test: ["CMD", "node", "-e", "require('http').get('http://127.0.0.1:2368/',r=>{process.exit(r.statusCode<400?0:1)}).on('error',()=>process.exit(1))"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 30s
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.ghost.rule=Host(`${SUBDOMAIN}.${DOMAIN}`)"
|
|
- "traefik.http.routers.ghost.entrypoints=websecure"
|
|
- "traefik.http.routers.ghost.tls=true"
|
|
- "traefik.http.routers.ghost.tls.certresolver=letsencrypt"
|
|
- "traefik.http.services.ghost.loadbalancer.server.port=2368"
|
|
|
|
volumes:
|
|
ghost_content:
|
|
|
|
networks:
|
|
traefik-public:
|
|
external: true
|