Update Docker config: opt into Node.js 24 actions, rename to check-printing
- 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
This commit is contained in:
@@ -8,6 +8,7 @@ on:
|
||||
|
||||
env:
|
||||
IMAGE_NAME: ${{ secrets.DOCKERHUB_USERNAME }}/check-printing
|
||||
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
||||
|
||||
jobs:
|
||||
build-push:
|
||||
@@ -26,7 +27,7 @@ jobs:
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
username: ${{ vars.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Extract image metadata
|
||||
|
||||
+5
-5
@@ -1,22 +1,22 @@
|
||||
services:
|
||||
ezcheck:
|
||||
check-printing:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: docker/Dockerfile
|
||||
container_name: ezcheck
|
||||
container_name: check-printing
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
# Persistent data: SQLite DB lives here
|
||||
- ezcheck-data:/app/data
|
||||
- check-printing-data:/app/data
|
||||
- ./fonts:/app/fonts:ro
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- PORT=3000
|
||||
- DB_PATH=/app/data/ezcheck.db
|
||||
- DB_PATH=/app/data/check-printing.db
|
||||
# Full path to MICR font inside container
|
||||
- MICR_FONT_PATH=${MICR_FONT_PATH}
|
||||
|
||||
volumes:
|
||||
ezcheck-data:
|
||||
check-printing-data:
|
||||
|
||||
Reference in New Issue
Block a user