start
This commit is contained in:
22
.env.example
Normal file
22
.env.example
Normal 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"]
|
||||
Reference in New Issue
Block a user