Skip to content

Instantly share code, notes, and snippets.

@Foxhound401
Forked from prappo/.env
Created August 9, 2021 18:18
Show Gist options
  • Save Foxhound401/2543b47fd1b6b71c7ce9182d9703fe78 to your computer and use it in GitHub Desktop.
Save Foxhound401/2543b47fd1b6b71c7ce9182d9703fe78 to your computer and use it in GitHub Desktop.
env file for Laravel postgresql database
APP_ENV=local
APP_DEBUG=true
APP_KEY=base64:hyHUpukUUigKeEsxpGeTW4UZ+Lg+WAWxcc4/BjlgNtE=
APP_URL=http://localhost
DB_CONNECTION=pgsql
DB_HOST=hostname
DB_PORT=5432
DB_DATABASE=Your database name
DB_USERNAME=Your database username
DB_PASSWORD=Your database password
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment