-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
45 lines (37 loc) · 1.49 KB
/
.env.example
File metadata and controls
45 lines (37 loc) · 1.49 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
# Copy this file to .env and fill in the values
# cp .env.example .env
# Database Configuration
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=form-forge
DB_HOST=localhost
DB_PORT=5434
# Backend Configuration
# The backend expects DATABASE_URL and BIND_ADDR environment variables
# DATABASE_URL is automatically constructed from POSTGRES_* & DB_* variables
BIND_ADDR=0.0.0.0:8081
RUST_LOG=info
# S3-Compatible Storage (RustFS)
S3_ENDPOINT=http://localhost:9000
S3_BUCKET=form-forge
S3_ACCESS_KEY=rustfsadmin
S3_SECRET_KEY=rustfsadmin
S3_REGION=us-east-1
# Production only - public URL for pre-signed download URLs
# For single-domain setup with /s3/ path: https://yourdomain.com/s3
# S3_PUBLIC_ENDPOINT=https://yourdomain.com/s3
# Document TTL Configuration
# Number of days before uploaded documents expire (default: 7)
# This configures the background reconciliation task; lifecycle rules
# are configured separately in config/lifecycle.json
S3_LIFECYCLE_EXPIRATION_DAYS=1
# OpenTelemetry Configuration (optional)
# Set OTEL_EXPORTER_OTLP_ENDPOINT to enable tracing, metrics and log export
# When using the OTel Collector: http://otel-collector:4318
# OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4318
# OTEL_SERVICE_NAME=form-forge-api
# OTel Collector export destination (Coolify deployment only)
# Where the collector forwards signals to (e.g., SigNoz ingest endpoint)
# OTEL_COLLECTOR_ENDPOINT=https://ingest.signoz.example.com:4318
# Frontend Configuration
API_URL=http://localhost:8081