Files
inventory/.env.example
2026-07-21 16:11:09 +05:00

23 lines
762 B
Plaintext

# 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"]