generated from theradcoza/Laravel-Docker-Dev-Template
30 lines
753 B
Plaintext
30 lines
753 B
Plaintext
# Docker Compose Configuration
|
|
APP_PORT=8080
|
|
REDIS_PORT=6379
|
|
MAIL_PORT=1025
|
|
MAIL_DASHBOARD_PORT=8025
|
|
|
|
# ============================================
|
|
# DATABASE CONFIGURATION
|
|
# ============================================
|
|
# Choose one: mysql, pgsql, sqlite
|
|
# Start Docker with: docker-compose --profile mysql up -d
|
|
# docker-compose --profile pgsql up -d
|
|
# docker-compose --profile sqlite up -d
|
|
|
|
# Common settings
|
|
DB_DATABASE=laravel
|
|
DB_USERNAME=laravel
|
|
DB_PASSWORD=secret
|
|
|
|
# MySQL specific
|
|
DB_PORT=3306
|
|
DB_ROOT_PASSWORD=rootsecret
|
|
|
|
# PostgreSQL specific (uses DB_PORT=5432 by default)
|
|
# Uncomment if using PostgreSQL:
|
|
# DB_PORT=5432
|
|
|
|
# SQLite specific
|
|
# No additional settings needed - uses database/database.sqlite
|