Files
app-catalog-felhom.eu/templates/zipline/docker-compose.yml
T
admin fb8703020e
gates / gates (push) Successful in 2s
zipline: 4.7.0 -> 4.8.0, its second ladder step, both venues proven (R-462, R-742)
The route 4.8.0 itself asks for (its prisma -> drizzle migration needs 4.7.x first). Bench 9401
(harness v4, swap 0; two earlier attempts stopped at the FROM pull because the bench's own disk was
full — images removed by name, no prune): the user logs in before and after, 10-min watch 0 kills
(anon peak 34.3 %); the abort starts and serves. Box 9202: done in 32.8 s, the user logs in.
4.7.0 keeps its definition in steps/. Written by upgrade-test.py --write-ladder.

Evidence: felhom.eu/documentation/audits/more-night-apps-2026-09-30/

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
2026-09-30 20:22:53 +02:00

84 lines
2.6 KiB
YAML

# Zipline - ShareX/Flameshot szerver - screenshot és fájlmegosztás
# Domain: ${SUBDOMAIN}.${DOMAIN}
# Database: postgres
# RAM: ~100M (mem_limit: 512M) | Pi-compatible: No
#
# Environment variables:
# DOMAIN - Your domain (e.g., demo-felhom.eu)
# CORE_SECRET - Titkosítási kulcs (auto-generated)
# DB_PASSWORD - Adatbázis jelszó (auto-generated)
services:
zipline:
image: ghcr.io/diced/zipline:4.8.0
container_name: zipline
restart: unless-stopped
depends_on:
zipline-postgres:
condition: service_healthy
environment:
- TZ=Europe/Budapest
- CORE_SECRET=${CORE_SECRET}
# FIGYELEM: a v4 óta a DB változó neve DATABASE_URL (prefix NÉLKÜL), míg a
# CORE_SECRET megtartotta a prefixet. A régi CORE_DATABASE_URL nevet a v4
# már nem ismeri fel, és indulás nélkül kilép:
# "No database environment variables found (DATABASE_URL or all of [...])"
- DATABASE_URL=postgresql://zipline:${DB_PASSWORD}@zipline-postgres:5432/zipline
volumes:
- zipline_uploads:/zipline/uploads
- zipline_public:/zipline/public
networks:
- traefik-public
- zipline-internal
deploy:
resources:
limits:
memory: 512M
healthcheck:
test: ["CMD", "node", "-e", "const http = require('http'); http.get('http://127.0.0.1:3000/api/healthcheck', (r) => { process.exit(r.statusCode === 200 ? 0 : 1) }).on('error', () => process.exit(1))"]
interval: 30s
timeout: 5s
retries: 3
start_period: 30s
labels:
- "traefik.enable=true"
- "traefik.http.routers.zipline.rule=Host(`${SUBDOMAIN}.${DOMAIN}`)"
- "traefik.http.routers.zipline.entrypoints=websecure"
- "traefik.http.routers.zipline.tls=true"
- "traefik.http.routers.zipline.tls.certresolver=letsencrypt"
- "traefik.http.services.zipline.loadbalancer.server.port=3000"
zipline-postgres:
image: postgres:16-alpine
container_name: zipline-postgres
restart: unless-stopped
environment:
- POSTGRES_USER=zipline
- POSTGRES_PASSWORD=${DB_PASSWORD}
- POSTGRES_DB=zipline
- TZ=Europe/Budapest
volumes:
- zipline_postgres_data:/var/lib/postgresql/data
networks:
- zipline-internal
deploy:
resources:
limits:
memory: 256M
healthcheck:
test: ["CMD-SHELL", "pg_isready -U zipline -d zipline"]
interval: 10s
timeout: 5s
retries: 5
start_period: 20s
volumes:
zipline_postgres_data:
zipline_public:
zipline_uploads:
networks:
traefik-public:
external: true
zipline-internal: