-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
40 lines (32 loc) · 1010 Bytes
/
.env.example
File metadata and controls
40 lines (32 loc) · 1010 Bytes
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
# Database Configuration
POSTGRES_USER=boxuser
POSTGRES_PASSWORD=boxpass
POSTGRES_DB=boxcopilot
POSTGRES_PORT=5432
# Redis Configuration
REDIS_PORT=6379
# Backend Configuration
BACKEND_PORT=8080
SPRING_PROFILES_ACTIVE=prod
# OAuth2/OIDC Configuration (Nextcloud)
CLIENT_ID=your-client-id
CLIENT_SECRET=your-client-secret
NEXTCLOUD_URL=https://example.nextcloud.com
NEXTCLOUD_LOGOUT_URL=https://example.nextcloud.com/index.php/logout
# Frontend URL for CORS
FRONTEND_URL=http://localhost:5173
VITE_API_BASE_URL=http://localhost:8080
# Image Storage Path
# Development: ./data/images (relative path)
# Production: /var/boxcopilot/images (absolute path)
# Windows: C:/boxcopilot/images (use forward slashes)
APP_IMAGE_STORAGE_PATH=/var/boxcopilot/images
# Admin User Configuration
ADMIN_USERNAME=admin
ADMIN_PASSWORD=admin
ADMIN_NAME=Administrator
# Magic Login Link Configuration
MAGIC_LINK_VALID_HOURS=24
# Traefik Hostnames
TRAEFIK_FRONTEND_HOST=box.localhost
TRAEFIK_BACKEND_HOST=box-backend.localhost