docker-laravel-stack/.env

70 lines
1.2 KiB
Bash
Raw Normal View History

2025-10-31 11:29:14 -04:00
# Laravel App Folder
PROJECT_NAME=laragigs
SAIL_SERVICE=php
# Laravel App Host Folder Name (the folder that holds artisan, app/, composer.json, etc.)
APP_HOST_DIR=${PROJECT_NAME}
# SSL Certificate Mode
SSL_MODE=selfsigned
# Proxy settings (for corporate/internal network)
HTTP_PROXY=http://172.40.4.14:8080
HTTPS_PROXY=http://172.40.4.14:8080
NO_PROXY=localhost,127.0.0.1
# UID/GID for PHP container file permissions
UID=101
GID=101
# Certificate and network info
C=TT
ST=Port-of-Spain
L=St. Clair
O=Ministry of Sport and Youth Affairs
OU=ICT
CN=localhost
EMAIL=sheldon.johnson@gov.tt
DNS=localhost
IP=127.0.0.1
# Laravel App Settings
APP_NAME=Laravel
APP_ENV=local
APP_KEY=base64:YOUR_APP_KEY_HERE
APP_DEBUG=true
APP_URL=https://${DNS}
# Database
DB_CONNECTION=mysql
DB_HOST=mariadb
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=laravel
DB_PASSWORD=secret
# MariaDB service
MYSQL_DATABASE=laravel
MYSQL_USER=laravel
MYSQL_PASSWORD=secret
MYSQL_ROOT_PASSWORD=rootsecret
# Redis
REDIS_HOST=redis
REDIS_PASSWORD=null
REDIS_PORT=6379
# Mailhog
MAIL_MAILER=smtp
MAIL_HOST=mailhog
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=hello@example.com
MAIL_FROM_NAME="${PROJECT_NAME}"
# phpMyAdmin
PMA_HOST=mariadb
PMA_PORT=3306