fix worker not found module in build standalone
All checks were successful
Deploy eCourt Note Web to Server / Validate Database Schema (Drizzle) (push) Successful in 3s
Deploy eCourt Note Web to Server / Build Web Docker Image (push) Successful in 1m19s
Deploy eCourt Note Web to Server / Deploy eCourt Note Web to Server (push) Successful in 5s
Deploy eCourt Note Web to Server / Notify Deployment Status (push) Successful in 0s

fix next/link prefetch/call twice(replace with a)
This commit is contained in:
oom 2026-11-04 00:33:07 +07:00
parent 2486b6e434
commit 2e951f99f4
4 changed files with 57 additions and 30 deletions

View file

@ -6,6 +6,34 @@
# judes-note-db เก่ารันอยู่ (สร้างด้วย docker run) ให้ `docker rm -f judes-note-db`
# ก่อน แล้ว compose จะต่อวอลุ่ม judes-note-db-data เดิมได้เลย ข้อมูลไม่หาย
services:
docedit:
build:
context: .
dockerfile: docker/web.Dockerfile
restart: unless-stopped
environment:
- SECRET=${SECRET}
- PRIVATE_KEY_HEX=${PRIVATE_KEY_HEX}
- PUBLIC_KEY_HEX=${PUBLIC_KEY_HEX}
- EXTERNAL_API_KEY=${EXTERNAL_API_KEY}
- DOCVER_API_KEY=${DOCVER_API_KEY}
- DOCVER_TOKEN_SECRET=${DOCVER_TOKEN_SECRET}
- DATABASE_URL=postgresql://${POSTGRES_USER:-postgres}:${POSTGRES_PASSWORD:-postgres}@db:5432/note
### สำหรับโค้ดตัวอย่างระบบนอกเรียกเข้ามาไม่ได้ใช้ในระบบนี้ ห้ามเอาไช้
- DOCEDIT_BASE_URL=http://docedit:3000/docedit
- TICKET_SEC=300
- DOCX_WORKERS=4
ports:
- "3000:3000"
depends_on:
db:
condition: service_healthy
minio:
condition: service_healthy
db:
image: postgres:18-alpine
restart: unless-stopped