-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.env.example
More file actions
60 lines (49 loc) · 2.07 KB
/
docker-compose.env.example
File metadata and controls
60 lines (49 loc) · 2.07 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
# Docker Compose Environment Variables
# Copy this file to .env.docker and fill in your values
# Or set these as environment variables in your shell
# Usage: docker-compose --env-file .env.docker up
# Rails Environment
RAILS_ENV=production
RAILS_MASTER_KEY=your_rails_master_key_here
SECRET_KEY_BASE=your_secret_key_base_here
# Database Configuration
# Format: postgresql://username:password@host:port/database_name
# Or: postgresql://host:port/database_name?user=username&password=password
DATABASE_URL=postgresql://postgres:change_me_secure_password@postgres:5432/barnabai_production
CACHE_DATABASE_URL=postgresql://postgres:change_me_secure_password@postgres:5432/barnabai_production_cache
QUEUE_DATABASE_URL=postgresql://postgres:change_me_secure_password@postgres:5432/barnabai_production_queue
CABLE_DATABASE_URL=postgresql://postgres:change_me_secure_password@postgres:5432/barnabai_production_cable
# PostgreSQL service configuration (for docker-compose postgres service)
# These can be derived from DATABASE_URL or set separately
POSTGRES_USER=postgres
POSTGRES_PASSWORD=change_me_secure_password
POSTGRES_DB=barnabai_production
# Web Server Configuration
WEB_PORT=3000
PORT=80
RAILS_MAX_THREADS=5
# Background Jobs Configuration
JOB_CONCURRENCY=2
# Slack OAuth Configuration
# Get these from: https://api.slack.com/apps
SLACK_CLIENT_ID=your_slack_client_id
SLACK_CLIENT_SECRET=your_slack_client_secret
# Slack Socket Mode
# Get this from: https://api.slack.com/apps -> Your App -> Socket Mode
SLACK_APP_TOKEN=xapp-your-app-level-token
# GitHub OAuth Configuration
# Get these from: https://github.com/settings/developers
GITHUB_CLIENT_ID=your_github_client_id
GITHUB_CLIENT_SECRET=your_github_client_secret
# AI Provider Configuration
# Currently supports: openai
AI_PROVIDER=openai
# OpenAI Configuration
# Get this from: https://platform.openai.com/api-keys
OPENAI_API_KEY=sk-your-openai-api-key
OPENAI_MODEL=gpt-4
# Optional: Encryption Keys
# If not set, will use Rails secret_key_base as fallback
# Generate with: openssl rand -hex 32
SLACK_TOKEN_ENCRYPTION_KEY=
GITHUB_TOKEN_ENCRYPTION_KEY=