This commit is contained in:
jze9
2026-07-21 16:11:09 +05:00
commit 78862296c4
94 changed files with 6090 additions and 0 deletions

22
.env.example Normal file
View File

@@ -0,0 +1,22 @@
# Copy to .env and adjust before running `docker compose up`.
POSTGRES_USER=inventory
POSTGRES_PASSWORD=change-me
POSTGRES_DB=inventory
MINIO_ROOT_USER=inventory
MINIO_ROOT_PASSWORD=change-me-too
MINIO_BUCKET=inventory
# Base URL the browser uses to fetch photos directly from MinIO.
# Local dev: the host-exposed MinIO port. Prod: the public MinIO/CDN domain.
MINIO_PUBLIC_URL=http://localhost:9000
# Generate with: python -c "import secrets; print(secrets.token_urlsafe(48))"
JWT_SECRET_KEY=change-me-to-a-random-secret
JWT_ALGORITHM=HS256
JWT_EXPIRE_MINUTES=600
# Base URL encoded into QR codes and used for CORS.
# Local dev: the frontend dev server. Prod: the real domain.
PUBLIC_BASE_URL=http://localhost:5173
ALLOWED_ORIGINS=["http://localhost:5173"]