paste-bin/docker-compose.yml
Jarian Cottingham 3bc5c16c5d fix: HSTS (#29), CSP (#30), server version (#34), favicon (#35), aria (#36,#37), cleanup loop (#1), startup dirs (#16), health check (#27), docker-compose (#19,#20)
- Add HSTS, CSP headers, remove Server header, fix GIF magic tuple
- Add ARIA landmarks, button labels, inline SVG favicon
- Scheduled cleanup loop (every 5min), /health endpoint
- Remove docker-compose version field, unused named volumes
- Move ensure_dirs to startup, remove duplicate definitions
2026-07-05 04:32:07 +00:00

13 lines
272 B
YAML

services:
pastebin:
build: .
ports:
- "${PORT:-9780}:8080"
volumes:
- ./uploads:/app/uploads
- ./store:/app/store
environment:
- PORT=8080
- SECRET_KEY=${SECRET_KEY:-change-me-to-a-random-secret}
restart: unless-stopped