-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
46 lines (39 loc) · 1.23 KB
/
.env.example
File metadata and controls
46 lines (39 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Web API
ASPNETCORE_ENVIRONMENT=Development
HTTPS_PORT=8443
EXPOSE_443_PORT=true
# Storage Configuration
UPLOAD_STORAGE_PATH=/var/lib/modelibr/uploads
# Frontend (HTTPS port — access app at https://localhost:3000)
# Use 443 for best Windows WebDAV compatibility (no registry edits needed)
FRONTEND_PORT=3000
VITE_API_BASE_URL=/api
WEBDAV_PORT=443
# HTTP WebDAV port — Windows \\server\share uses HTTP on port 80 by default (no cert required)
WEBDAV_HTTP_PORT=80
# PostgreSQL
POSTGRES_USER=modelibr
POSTGRES_PASSWORD=ChangeThisStrongPassword123!
POSTGRES_PORT=5432
# Asset Processor Service
WORKER_PORT=3001
WORKER_ID=worker-1
WORKER_API_KEY=change-me-to-a-secure-random-key
MAX_CONCURRENT_JOBS=3
RENDER_WIDTH=256
RENDER_HEIGHT=256
RENDER_FORMAT=png
LOG_LEVEL=info
# Thumbnail Storage
THUMBNAIL_STORAGE_ENABLED=true
THUMBNAIL_STORAGE_PATH=/var/lib/modelibr/thumbnails
SKIP_DUPLICATE_THUMBNAILS=true
# Blender (optional — for automatic .blend → .glb conversion, adds ~500MB to Docker image)
# Set ENABLE_BLENDER=true if you work with .blend files.
# BLENDER_VERSION must match an official release from https://download.blender.org/release/
ENABLE_BLENDER=false
BLENDER_VERSION=5.0.1
# Docker (optional)
DOCKER_REGISTRY=
HOST_UID=1000
HOST_GID=1000