-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
53 lines (45 loc) · 1.68 KB
/
Copy path.env.example
File metadata and controls
53 lines (45 loc) · 1.68 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
47
48
49
50
51
52
53
# =============================================
# Speakeasy Services Environment Configuration
# =============================================
# Global Configuration
# -------------------
NODE_ENV=development # development, production, test
LOG_LEVEL=debug # debug, info, warn, error
# Shared Infrastructure
# -------------------
# Main database used by all services
DATABASE_URL=postgres://speakeasy:speakeasy@localhost:5496/speakeasy
# Service API Keys
# --------------
# These keys are used for inter-service communication
PRIVATE_SESSIONS_API_KEY=red
PRIVATE_PROFILES_API_KEY=orange
TRUSTED_USERS_API_KEY=yellow
USER_KEYS_API_KEY=green
SERVICE_ADMIN_API_KEY=blue
MEDIA_API_KEY=magenta
SERVICE_ADMIN_HOST=http://localhost:3005
PRIVATE_SESSIONS_HOST=http://localhost:3002
PRIVATE_PROFILES_HOST=http://localhost:3006
TRUSTED_USERS_HOST=http://localhost:3001
USER_KEYS_HOST=http://localhost:3004
MEDIA_HOST=http://localhost:3003
SPKEASY_HOST=http://localhost:19006
# HMAC hashing
# ------------
HMAC_SECRET=secret
LOG_SALT=salt
# Job queue field encryption (required)
# --------------------------
# Sensitive fields in job payloads (private keys, user tokens) are encrypted
# at rest in PgBoss using AES-256-GCM. The key is any random string; SHA-256 is used
# to derive the 32-byte encryption key.
JOB_QUEUE_ENCRYPTION_KEY=change-me-to-a-random-secret
# Service-Specific Configuration
# ----------------------------
# Each service should have its own schema in the database
# Format: postgres://user:password@host:port/database?schema=service_name
# Stripe integration
# Use sandbox key for development
STRIPE_SECRET_KEY=STRIPE_SECRET_KEY_GOES_HERE
STRIPE_WEBHOOK_SECRET=STRIPE_WEBHOOK_SECRET_GOES_HERE