-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.docker.example
More file actions
124 lines (106 loc) · 4.05 KB
/
.env.docker.example
File metadata and controls
124 lines (106 loc) · 4.05 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
# =============================================================================
# ERNIE Docker Development Environment Configuration
# =============================================================================
# Copy this file to .env.docker and adjust values as needed
# Usage: docker-compose -f docker-compose.dev.yml --env-file .env.docker up
#
# Cross-Platform Setup:
# - Windows (PowerShell): Copy-Item .env.docker.example .env.docker
# - Unix/macOS (bash): cp .env.docker.example .env.docker
# =============================================================================
APP_NAME=ERNIE
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=https://localhost:3333
# API Key for external service integration (e.g., ELMO)
ERNIE_API_KEY=dev-api-key-1234
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
# =============================================================================
# Database Configuration
# =============================================================================
DB_CONNECTION=mysql
DB_HOST=db
DB_PORT=3306
DB_DATABASE=ernie
DB_USERNAME=ernie
DB_PASSWORD=secret
DB_ROOT_PASSWORD=rootsecret
# =============================================================================
# Session Configuration
# =============================================================================
# WARNING: SESSION_SECURE_COOKIE=false is a security trade-off for development.
# In production, this MUST be set to true!
#
# SESSION_SECURE_COOKIE=false because self-signed certificates aren't trusted
# =============================================================================
SESSION_DRIVER=database
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=localhost
SESSION_SECURE_COOKIE=false
SESSION_SAME_SITE=lax
BROADCAST_CONNECTION=log
FILESYSTEM_DISK=local
QUEUE_CONNECTION=database
# =============================================================================
# Cache & Redis Configuration
# =============================================================================
CACHE_STORE=redis
REDIS_CLIENT=phpredis
REDIS_HOST=redis
REDIS_PASSWORD=null
REDIS_PORT=6379
# =============================================================================
# Mail Configuration (Log only in dev)
# =============================================================================
MAIL_MAILER=log
MAIL_SCHEME=null
MAIL_HOST=127.0.0.1
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_FROM_ADDRESS="ernie-dev@example.com"
MAIL_FROM_NAME="${APP_NAME}"
# Landing Page Contact Form - Cc recipient for all contact messages
# Set to empty string to disable Cc
LANDING_PAGE_CONTACT_CC_EMAIL=datapub@gfz.de
VITE_APP_NAME="${APP_NAME}"
# =============================================================================
# External API Configuration
# =============================================================================
# Google Maps API Key for geocoding and map display
GM_API_KEY=
# ORCID API Configuration (Public API - no auth required)
ORCID_API_URL=https://pub.orcid.org/v3.0
ORCID_SEARCH_URL=https://pub.orcid.org/v3.0/search
# =============================================================================
# DataCite API Credentials for DOI management
# =============================================================================
# Always use test mode in development!
DATACITE_TEST_MODE=true
DATACITE_TEST_USERNAME=
DATACITE_TEST_PASSWORD=
DATACITE_TEST_ENDPOINT=https://api.test.datacite.org
DATACITE_USERNAME=
DATACITE_PASSWORD=
DATACITE_ENDPOINT=https://api.datacite.org
# =============================================================================
# Sanctum Configuration
# =============================================================================
SANCTUM_STATEFUL_DOMAINS=localhost:3333
# =============================================================================
# Xdebug Configuration (optional)
# =============================================================================
# Set to 'debug' to enable Xdebug
XDEBUG_MODE=off