This commit is contained in:
jason
2026-04-20 15:49:01 -05:00
parent 381a31d607
commit b98837a72c
46 changed files with 8883 additions and 37 deletions
+25
View File
@@ -0,0 +1,25 @@
services:
mrp:
build: .
image: mrp-qrcode:local
container_name: mrp-qrcode
restart: unless-stopped
ports:
- "3000:3000"
environment:
DATABASE_URL: "file:/data/app.db"
UPLOAD_DIR: "/data/uploads"
APP_URL: "${APP_URL:-http://localhost:3000}"
APP_SECRET: "${APP_SECRET:?APP_SECRET must be set}"
ADMIN_SESSION_HOURS: "${ADMIN_SESSION_HOURS:-8}"
OPERATOR_SESSION_HOURS: "${OPERATOR_SESSION_HOURS:-12}"
BOOTSTRAP_ADMIN_EMAIL: "${BOOTSTRAP_ADMIN_EMAIL:-admin@example.com}"
BOOTSTRAP_ADMIN_PASSWORD: "${BOOTSTRAP_ADMIN_PASSWORD:-changeme}"
BOOTSTRAP_ADMIN_NAME: "${BOOTSTRAP_ADMIN_NAME:-Administrator}"
PIN_MAX_ATTEMPTS: "${PIN_MAX_ATTEMPTS:-5}"
PIN_LOCKOUT_MINUTES: "${PIN_LOCKOUT_MINUTES:-15}"
volumes:
- mrp-data:/data
volumes:
mrp-data: