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