-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.docker
More file actions
119 lines (100 loc) · 3.39 KB
/
Copy path.env.docker
File metadata and controls
119 lines (100 loc) · 3.39 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
APP_NAME=Scoriet
APP_NAME=Scoriet
APP_ENV=local
APP_KEY=your_app_key_here
APP_DEBUG=true
APP_URL=http://localhost:8888
APP_LOCALE=en
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=en_US
APP_MAINTENANCE_DRIVER=file
PHP_CLI_SERVER_WORKERS=4
BCRYPT_ROUNDS=12
LOG_CHANNEL=stack
LOG_STACK=single
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
# MySQL Database Configuration
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=scoriet
DB_USERNAME=root
DB_PASSWORD=admin
SESSION_DRIVER=database
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=localhost
SANCTUM_STATEFUL_DOMAINS=localhost:5173
BROADCAST_CONNECTION=log
FILESYSTEM_DISK=local
QUEUE_CONNECTION=database
# Cache Configuration
# Recommended: redis for best performance (requires Redis installed)
# Alternative: file (no Redis needed, slightly slower)
CACHE_STORE=file
MEMCACHED_HOST=127.0.0.1
# Redis Configuration (optional, but HIGHLY recommended for production)
# Install Redis: https://redis.io/download or use Docker: docker run -d -p 6379:6379 redis:alpine
# Then set CACHE_STORE=redis for 2-3x faster template caching
REDIS_CLIENT=phpredis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
# Template Compilation Cache
# Speeds up code generation from ~21min to ~2-3min (85-90% faster!)
TEMPLATE_CACHE_ENABLED=true
TEMPLATE_CACHE_TTL_HOURS=24
# Auto Pre-compilation (optional)
# When enabled, templates are automatically pre-compiled in background after saving
# Recommended: false during development, true in production
TEMPLATE_AUTO_PRECOMPILE=false
# Pre-compilation Batch Size
# How many compilations to process in parallel (1-20)
# Lower = less server load, Higher = faster cache warming
TEMPLATE_PRECOMPILE_BATCH_SIZE=10
MAIL_MAILER=log
MAIL_HOST=127.0.0.1
MAIL_PORT=2525
MAIL_USERNAME=your_mail_username
MAIL_PASSWORD=your_mail_password
MAIL_FROM_ADDRESS="hello@example.com"
MAIL_FROM_NAME="${APP_NAME}"
# AWS Configuration (for production scaling with ~20+ users)
# SQS Queue: Set QUEUE_CONNECTION=sqs to use AWS SQS instead of database queue
# S3 Storage: For file storage (optional)
AWS_ACCESS_KEY_ID=your_aws_key
AWS_SECRET_ACCESS_KEY=your_aws_secret
AWS_DEFAULT_REGION=eu-central-1
AWS_BUCKET=your_bucket_name
# AWS SQS Queue (optional, for production scaling)
# Create queue: aws sqs create-queue --queue-name scoriet-queue-production
# Then set QUEUE_CONNECTION=sqs to use it
SQS_QUEUE=scoriet-queue-production
# SQS_PREFIX=https://sqs.eu-central-1.amazonaws.com/your-account-id
# SQS_SUFFIX=
VITE_APP_NAME="${APP_NAME}"
VITE_PASSPORT_CLIENT_ID=scoriet-docker-client
VITE_PASSPORT_CLIENT_SECRET=scoriet-docker-secret-key-development-only
# Scoriet Demo Mode
# Set to true for demo installations (disables registration, emails, etc.)
# Set to false for production (enables all features)
SCORIET_DEMO=false
VITE_APP_VERSION="1.0.0.0"
VITE_SCORIET_DEMO="${SCORIET_DEMO}"
# Demo Users in Login Modal
# Set to false to hide the demo-admin/demo-user buttons in the login modal
# Default: true (show demo users)
VITE_SHOW_DEMO_USERS=false
# GitHub OAuth (https://github.com/settings/developers)
# Redirect URI: http://localhost:8000/auth/git/github/callback
# Scopes: repo, user:email
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
# GitLab OAuth (https://gitlab.com/-/user_settings/applications)
# Redirect URI: http://localhost:8000/auth/git/gitlab/callback
# Scopes: api, read_user
GITLAB_CLIENT_ID=
GITLAB_CLIENT_SECRET=
GITLAB_BASE_URL=https://gitlab.com