e252ddb952
- Organize backend into src/ (routes/, services/, db/) per package.json entrypoint - Add migrations/import-mdb.js for one-time .mdb → SQLite migration - Add public/ frontend: check ledger table, slide-in new/edit panel, PDF generation - Add docker/Dockerfile and docker-compose.yml for self-hosted deployment - Add .github/workflows: Docker Hub build+push on main/tags, TODO→Issues scanner - Add GnuMICR font files (GPL-2.0) for MICR E-13B line rendering
23 lines
507 B
YAML
23 lines
507 B
YAML
services:
|
|
ezcheck:
|
|
build:
|
|
context: .
|
|
dockerfile: docker/Dockerfile
|
|
container_name: ezcheck
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3000:3000"
|
|
volumes:
|
|
# Persistent data: SQLite DB lives here
|
|
- ezcheck-data:/app/data
|
|
- ./fonts:/app/fonts:ro
|
|
environment:
|
|
- NODE_ENV=production
|
|
- PORT=3000
|
|
- DB_PATH=/app/data/ezcheck.db
|
|
# Full path to MICR font inside container
|
|
- MICR_FONT_PATH=${MICR_FONT_PATH}
|
|
|
|
volumes:
|
|
ezcheck-data:
|