-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.docker.example
More file actions
136 lines (114 loc) · 4.12 KB
/
.env.docker.example
File metadata and controls
136 lines (114 loc) · 4.12 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
128
129
130
131
132
133
134
135
136
# ==============================================
# ArgusPAM Docker Compose Environment Variables
# ==============================================
# Copy this file to .env and fill in the values
# Command: cp .env.docker.example .env
# ==============================================
# DATABASE CONFIGURATION
# ==============================================
DB_ROOT_PASSWORD=your_secure_root_password_here
DB_DATABASE=arguspam
DB_USERNAME=arguspam
DB_PASSWORD=your_secure_database_password_here
# ==============================================
# LARAVEL API CONFIGURATION
# ==============================================
APP_NAME=ArgusPAM
APP_ENV=production
APP_KEY=base64:your_app_key_here
APP_DEBUG=false
APP_URL=https://api.yourdomain.com
APP_WEB_URL=https://yourdomain.com
# Redis Configuration
REDIS_PREFIX=argus_db_
# Security & Authentication
SANCTUM_TOKEN_EXPIRATION=3600
SANCTUM_RATE_LIMIT=60
SANCTUM_STATEFUL_DOMAINS=yourdomain.com,www.yourdomain.com
CORS_ALLOWED_ORIGINS=https://yourdomain.com,https://www.yourdomain.com
AUTH_TEMP_KEY_EXPIRATION=5
AUTH_BYPASS_2FA=false
# Laravel Telescope (Debug Tool)
TELESCOPE_ENABLED=false
# ==============================================
# EMAIL / SMTP CONFIGURATION (REQUIRED)
# ==============================================
# Gmail Example:
# MAIL_HOST=smtp.gmail.com
# MAIL_PORT=587
# MAIL_USERNAME=your-email@gmail.com
# MAIL_PASSWORD=your-app-password
# SendGrid Example:
# MAIL_HOST=smtp.sendgrid.net
# MAIL_PORT=587
# MAIL_USERNAME=apikey
# MAIL_PASSWORD=your-sendgrid-api-key
# Mailgun Example:
# MAIL_HOST=smtp.mailgun.org
# MAIL_PORT=587
# MAIL_USERNAME=postmaster@yourdomain.com
# MAIL_PASSWORD=your-mailgun-password
MAIL_HOST=smtp.example.com
MAIL_PORT=587
MAIL_USERNAME=your-smtp-username
MAIL_PASSWORD=your-smtp-password
MAIL_FROM_ADDRESS=noreply@yourdomain.com
MAIL_FROM_NAME="${APP_NAME}"
# ==============================================
# OPENAI CONFIGURATION (REQUIRED)
# ==============================================
# Get your API key from: https://platform.openai.com/api-keys
# Get your organization ID from: https://platform.openai.com/account/organization
OPENAI_API_KEY=sk-your-openai-api-key-here
OPENAI_ORGANIZATION=org-your-organization-id-here
OPENAI_MODEL=gpt-4o-mini
# ==============================================
# NOTIFICATION EMAILS (REQUIRED)
# ==============================================
EMAIL_DEFAULT=admin@yourdomain.com
EMAIL_SUPPORT=support@yourdomain.com
# ==============================================
# SVELTEKIT WEB CONFIGURATION
# ==============================================
WEB_ORIGIN=https://yourdomain.com
PUBLIC_API_URL=https://api.yourdomain.com
PUBLIC_API_REQUEST_TIMEOUT=60000
# Authentication paths
PUBLIC_AUTH_LOGIN_PATH=/auth/login
PUBLIC_AUTH_LOGOUT_PATH=/auth/logout
# Organization header
PUBLIC_ORG_ID_HEADER=X-Organization-ID
# Access request duration (in minutes)
PUBLIC_ACCESS_REQUEST_MIN_DURATION=10
PUBLIC_ACCESS_REQUEST_MAX_DURATION=43200
# Cookie configuration
COOKIE_EXPIRY=86400
COOKIE_SAME_SITE=lax
COOKIE_TOKEN_KEY=auth_token
COOKIE_CURRENT_ORG_KEY=current_org_id
COOKIE_TEMP_KEY_KEY=temp_key
# ==============================================
# OPTIONAL SERVICES
# ==============================================
# Slack Integration (Optional)
# Get token from: https://api.slack.com/apps
# SLACK_BOT_USER_OAUTH_TOKEN=xoxb-your-slack-token-here
# MaxMind GeoIP (Optional - for user location awareness)
# Sign up at: https://www.maxmind.com/en/geolite2/signup
# MAXMIND_USER_ID=your-maxmind-user-id
# MAXMIND_LICENSE_KEY=your-maxmind-license-key
# ==============================================
# DEVELOPMENT OVERRIDES (docker-compose.override.yml)
# ==============================================
# The following values are automatically set in docker-compose.override.yml
# for development. They are listed here for reference only.
# Development Database (auto-configured in override)
# DB_ROOT_PASSWORD=root
# DB_DATABASE=arguspam
# DB_USERNAME=arguspam
# DB_PASSWORD=secret
# Development URLs (auto-configured in override)
# APP_URL=http://localhost:8000
# APP_WEB_URL=http://localhost:3000
# WEB_ORIGIN=http://localhost:3000
# PUBLIC_API_URL=http://localhost:8000