Add Docker-based dev/prod setup with zail helper scripts
This commit is contained in:
17
.env.example
17
.env.example
@@ -1,4 +1,5 @@
|
||||
APP_NAME=Laravel
|
||||
APP_NAME="Laravel Starter Kit"
|
||||
APP_NAME_SLUG=laravel-starter-kit
|
||||
APP_ENV=local
|
||||
APP_KEY=
|
||||
APP_DEBUG=true
|
||||
@@ -21,11 +22,11 @@ LOG_DEPRECATIONS_CHANNEL=null
|
||||
LOG_LEVEL=debug
|
||||
|
||||
DB_CONNECTION=mariadb
|
||||
DB_HOST=127.0.0.1
|
||||
DB_HOST=mariadb
|
||||
DB_PORT=3306
|
||||
DB_DATABASE=laravel-starter-kit
|
||||
DB_USERNAME=root
|
||||
DB_PASSWORD=password
|
||||
DB_USERNAME=laravel
|
||||
DB_PASSWORD=starter-secret
|
||||
|
||||
SESSION_DRIVER=database
|
||||
SESSION_LIFETIME=120
|
||||
@@ -37,7 +38,7 @@ BROADCAST_CONNECTION=log
|
||||
FILESYSTEM_DISK=local
|
||||
QUEUE_CONNECTION=database
|
||||
|
||||
CACHE_STORE=database
|
||||
CACHE_STORE=file
|
||||
# CACHE_PREFIX=
|
||||
|
||||
MEMCACHED_HOST=127.0.0.1
|
||||
@@ -63,3 +64,9 @@ AWS_BUCKET=
|
||||
AWS_USE_PATH_STYLE_ENDPOINT=false
|
||||
|
||||
VITE_APP_NAME="${APP_NAME}"
|
||||
|
||||
# Docker: Sync user ID and group ID to avoid permission issues on development
|
||||
UID=1000
|
||||
GID=1000
|
||||
|
||||
XDEBUG_ENABLED=false
|
||||
|
||||
Reference in New Issue
Block a user