37 lines
1.4 KiB
YAML
37 lines
1.4 KiB
YAML
|
|
# V11 Enterprise QMS — Unraid deployment
|
||
|
|
# Single container, SQLite persisted to the Unraid appdata share, on the br0 LAN.
|
||
|
|
#
|
||
|
|
# 1. Pick a free IP in 10.2.0.0/24 and set it below (ipv4_address) + NEXT_PUBLIC_APP_URL.
|
||
|
|
# 2. Set ADMIN_* and (optionally) SMTP_* below.
|
||
|
|
# 3. docker compose up -d (or install via the Unraid Docker GUI with the same values)
|
||
|
|
|
||
|
|
services:
|
||
|
|
qms:
|
||
|
|
image: registry.alwisp.com/jason/qms:latest
|
||
|
|
container_name: qms
|
||
|
|
restart: unless-stopped
|
||
|
|
environment:
|
||
|
|
# SQLite file inside the mapped volume — do not change the path
|
||
|
|
DATABASE_URL: "file:/data/qms.db"
|
||
|
|
# LAN URL the app is reached at (used in notification email links)
|
||
|
|
NEXT_PUBLIC_APP_URL: "http://10.2.0.30:3000"
|
||
|
|
# First-run admin (created only if no admin exists; change the password after first login)
|
||
|
|
ADMIN_EMAIL: "admin@yourcompany.com"
|
||
|
|
ADMIN_PASSWORD: "change-me-on-first-login"
|
||
|
|
ADMIN_NAME: "Administrator"
|
||
|
|
# Optional SMTP — leave unset to disable outbound email (notifications still appear in-app)
|
||
|
|
# SMTP_HOST: "smtp.resend.com"
|
||
|
|
# SMTP_PORT: "587"
|
||
|
|
# SMTP_USER: "resend"
|
||
|
|
# SMTP_PASS: "re_xxxxxxxx"
|
||
|
|
# EMAIL_FROM: "qms@yourcompany.com"
|
||
|
|
volumes:
|
||
|
|
- /mnt/user/appdata/qms:/data
|
||
|
|
networks:
|
||
|
|
br0:
|
||
|
|
ipv4_address: 10.2.0.30 # <-- set to a free IP on your LAN
|
||
|
|
|
||
|
|
networks:
|
||
|
|
br0:
|
||
|
|
external: true
|