forked from prebid/salesagent
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
127 lines (98 loc) · 4.22 KB
/
.env.example
File metadata and controls
127 lines (98 loc) · 4.22 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
# AdCP Sales Agent Environment Configuration
# Copy this file to .env and update with your actual values
# ============================================
# REQUIRED CONFIGURATION
# ============================================
# API Keys
GEMINI_API_KEY=your-gemini-api-key-here
# OAuth Configuration (choose one method)
# Method 1: Environment variables (recommended)
GOOGLE_CLIENT_ID=your-client-id.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=your-client-secret
# Method 2: File path (legacy - not recommended)
# GOOGLE_OAUTH_CREDENTIALS_FILE=/path/to/client_secret.json
# ============================================
# ADMIN CONFIGURATION
# ============================================
# Comma-separated list of super admin emails
SUPER_ADMIN_EMAILS=admin1@example.com,admin2@example.com
# Comma-separated list of allowed admin domains (optional)
SUPER_ADMIN_DOMAINS=example.com,company.com
# ============================================
# PORT CONFIGURATION
# ============================================
# Note: Conductor workspaces automatically get unique ports
# These are the defaults for the main deployment
POSTGRES_PORT=5432
ADCP_SALES_PORT=8080
ADMIN_UI_PORT=8001
# ============================================
# DATABASE CONFIGURATION
# ============================================
# For Docker Compose deployments (uses internal hostname)
DATABASE_URL=postgresql://adcp_user:secure_password_change_me@postgres:5432/adcp
# For standalone deployments (uses localhost)
# DATABASE_URL=postgresql://adcp_user:secure_password_change_me@localhost:5432/adcp
# Alternative: Use individual database components
# DB_TYPE=postgresql
# DB_HOST=localhost
# DB_PORT=5432
# DB_NAME=adcp
# DB_USER=adcp_user
# DB_PASSWORD=secure_password_change_me
# ============================================
# SLACK INTEGRATION
# ============================================
# Note: Slack webhooks are configured per-tenant in the Admin UI
# Navigate to Tenant > Integrations tab to set up Slack notifications
# Do NOT set global Slack webhooks here
# ============================================
# AD SERVER CREDENTIALS (Optional)
# ============================================
# Only needed if using real ad server adapters
# Google Ad Manager OAuth (for GAM Admin UI configuration)
GAM_OAUTH_CLIENT_ID=your-gam-oauth-client-id.apps.googleusercontent.com
GAM_OAUTH_CLIENT_SECRET=your-gam-oauth-client-secret
# Google Cloud Platform (for auto-provisioning service accounts)
# Required if you want to use the "Create Service Account" feature in Admin UI
# This is the GCP project ID where service accounts will be created
# GCP_PROJECT_ID=your-gcp-project-id
# Legacy: Manual GAM configuration (not needed if using Admin UI)
# GAM_NETWORK_CODE=123456789
# GAM_SERVICE_ACCOUNT_JSON='{"type":"service_account"...}'
# Kevel
# KEVEL_API_KEY=your-kevel-api-key
# KEVEL_NETWORK_ID=your-network-id
# Triton Digital
# TRITON_API_KEY=your-triton-api-key
# TRITON_STATION_ID=your-station-id
# ============================================
# ENVIRONMENT CONFIGURATION
# ============================================
# Environment: production, staging, or development (default: development)
# Controls schema validation strictness:
# - production: extra="ignore" (forward compatible, accepts future schema fields)
# - non-production: extra="forbid" (strict, catches bugs early)
ENVIRONMENT=development
# ============================================
# DEVELOPMENT OPTIONS
# ============================================
# Enable debug logging
# DEBUG=true
# Flask development mode (set automatically in docker-compose.override.yml)
# FLASK_ENV=development
# FLASK_DEBUG=1
# Global dry-run mode (for testing)
# ADCP_DRY_RUN=true
# Default adapter when not specified in tenant config
# ADCP_ADAPTER=mock
# Data directory for SQLite (default: ~/.adcp)
# DATA_DIR=/var/lib/adcp
# ============================================
# DOCKER COMPOSE NOTES
# ============================================
# - Database migrations run automatically via entrypoint.sh
# - OAuth credentials can be set via environment or mounted files
# - Each Conductor workspace gets unique ports to avoid conflicts
# - Development features enabled via docker-compose.override.yml
# - PostgreSQL is managed by Docker Compose (no separate install needed)