Skip to content

Commit fc00c7d

Browse files
committed
chore(env): Update .env.example with default values and DotCMS API configuration
- Set APP_KEY to a base64 value for easier setup. - Changed DB_CONNECTION to null and updated SESSION_DRIVER and CACHE_STORE to array. - Added DotCMS API configuration placeholders for HOST and TOKEN.
1 parent 859d6c5 commit fc00c7d

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

examples/dotcms-laravel/.env.example

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
APP_NAME=Laravel
22
APP_ENV=local
3-
APP_KEY=
3+
APP_KEY=base64:xxz1HhrjuN0ARiXHIW7MIP9UUMkWIq0Ovsiroi7AFPY=
44
APP_DEBUG=true
55
APP_URL=http://localhost
66

@@ -20,14 +20,16 @@ LOG_STACK=single
2020
LOG_DEPRECATIONS_CHANNEL=null
2121
LOG_LEVEL=debug
2222

23-
DB_CONNECTION=pgsql
23+
# DB_CONNECTION=pgsql
24+
DB_CONNECTION=null
2425
DB_HOST=127.0.0.1
2526
DB_PORT=5432
2627
DB_DATABASE=dotcms_laravel
2728
DB_USERNAME=root
2829
DB_PASSWORD=
2930

30-
SESSION_DRIVER=database
31+
SESSION_DRIVER=array
32+
# SESSION_DRIVER=database
3133
SESSION_LIFETIME=120
3234
SESSION_ENCRYPT=false
3335
SESSION_PATH=/
@@ -37,7 +39,8 @@ BROADCAST_CONNECTION=log
3739
FILESYSTEM_DISK=local
3840
QUEUE_CONNECTION=database
3941

40-
CACHE_STORE=database
42+
CACHE_STORE=array
43+
# CACHE_STORE=null
4144
# CACHE_PREFIX=
4245

4346
MEMCACHED_HOST=127.0.0.1
@@ -63,3 +66,7 @@ AWS_BUCKET=
6366
AWS_USE_PATH_STYLE_ENDPOINT=false
6467

6568
VITE_APP_NAME="${APP_NAME}"
69+
70+
# DotCMS API Configuration
71+
DOTCMS_HOST=your-dotcms-instance-url
72+
DOTCMS_API_TOKEN=your-dotcms-instance-token

0 commit comments

Comments
 (0)