####################### # Server Core toolset # ####################### ; Database variables POSTGRES_USER=postgres POSTGRES_PASSWORD=postgres POSTGRES_HOST=localhost POSTGRES_PORT=5432 POSTGRES_DB=accounter POSTGRES_SSL='0' POSTGRES_MAX_CLIENTS=10 ; Auth0 Configuration (JWT Verification) AUTH0_DOMAIN=your-tenant.us.auth0.com AUTH0_AUDIENCE=https://api.accounter.com ; Auth0 Management API (M2M Application) AUTH0_CLIENT_ID=your_m2m_client_id AUTH0_CLIENT_SECRET=your_m2m_client_secret AUTH0_MANAGEMENT_AUDIENCE=https://your-tenant.us.auth0.com/api/v2/ FRONTEND_URL=http://localhost:3000 #################### # Server Providers # #################### ; Anthropic AI (for OCR) ANTHROPIC_API_KEY=anthropicApiKey ; Cloudinary (For uploading files) CLOUDINARY_NAME=name CLOUDINARY_API_KEY=key CLOUDINARY_API_SECRET=secret ; Google Drive (for uploading files from shared drive) GOOGLE_DRIVE_API_KEY=googleDriveApiKey ; Green Invoice (Financial documents issuing provider) GREEN_INVOICE_ID=id GREEN_INVOICE_SECRET=secret ; Integration with Deel (for payroll management) DEEL_TOKEN=your_deel_token ; Per-tenant provider credentials encryption key (REQUIRED) ; 32 random bytes as 64 lowercase hex chars ; Generate: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))" CREDENTIALS_ENCRYPTION_KEY= ################# # Observability # ################# ; Hive GraphQL schema registry and CDN HIVE_TOKEN=hiveToken ; OpenTelemetry Configuration OTEL_ENABLED=0 OTEL_SERVICE_NAME=accounter-server OTEL_SERVICE_NAMESPACE=accounter OTEL_DEPLOYMENT_ENV=development # (if empty, defaults to NODE_ENV) OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317 OTEL_EXPORTER_OTLP_HEADERS=key1=value1,key2=value2 OTEL_TRACES_SAMPLER=parentbased_traceidratio OTEL_TRACES_SAMPLER_ARG=0.5 OTEL_EXPORT_TIMEOUT_MS=10000 OTEL_STARTUP_STRICT=true ####################### # Seeding and testing # ####################### ; Seed (Relevant only for the seed script) # SEED_BANK_ACCOUNT_NUMBER=1234567890 # SEED_BANK_NUMBER=12 # SEED_BRANCH_NUMBER=123 # SEED_CREDIT_CARD_LAST4DIGITS=1234 # SEED_CURRENCIES=USD,ILS ; Test environment file (Used in test scripts to load a different .env file with test-specific variables) TEST_ENV_FILE=../../.env.test ; Mesh dev (Richer logs on the dev environment) DEBUG=1