20dd54682d
- Add FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true to docker-build workflow - Switch login step to vars.DOCKERHUB_USERNAME (non-secret) - Rename docker-compose service, container, volume, and DB file to check-printing
23 lines
542 B
YAML
23 lines
542 B
YAML
services:
|
|
check-printing:
|
|
build:
|
|
context: .
|
|
dockerfile: docker/Dockerfile
|
|
container_name: check-printing
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3000:3000"
|
|
volumes:
|
|
# Persistent data: SQLite DB lives here
|
|
- check-printing-data:/app/data
|
|
- ./fonts:/app/fonts:ro
|
|
environment:
|
|
- NODE_ENV=production
|
|
- PORT=3000
|
|
- DB_PATH=/app/data/check-printing.db
|
|
# Full path to MICR font inside container
|
|
- MICR_FONT_PATH=${MICR_FONT_PATH}
|
|
|
|
volumes:
|
|
check-printing-data:
|