cup/.env-example

87 lines
2.4 KiB
Text
Raw Normal View History

2024-09-12 19:15:08 -04:00
#######################################
###### App ######
#######################################
2024-09-16 20:00:50 -04:00
APP_NAME=Cup
2024-09-12 19:15:08 -04:00
APP_ENV=local # local | testing | production
APP_DEBUG_MODE=true
App_HTTP_HOST=localhost
2024-09-16 20:00:50 -04:00
App_HTTP_PORT=8080
2024-09-12 19:15:08 -04:00
App_USE_HTTPS=false
App_USE_LETSENCRYPT=false
APP_LETSENCRYPT_EMAIL=mail@example.com
App_HTTPS_HOSTS=example.com, www.example.com
App_REDIRECT_HTTP_TO_HTTPS=false
App_CERT_FILE_PATH=tls/server.crt
App_KEY_FILE_PATH=tls/server.key
2024-09-23 19:11:13 -04:00
#######################################
###### TEMPLATES ######
#######################################
TEMPLATE_ENABLE=true
2024-10-15 22:59:03 -04:00
COOKIE_SECRET=13d6b4dff8f84a10851021ec8608f814570d562c92fe6b5ec4c9f595bcb3234b
2024-09-23 19:11:13 -04:00
2024-09-12 19:15:08 -04:00
#######################################
###### JWT ######
#######################################
JWT_SECRET=dkfTgonmgaAdlgkw
2024-09-16 20:00:50 -04:00
JWT_LIFESPAN_MINUTES=4320 # expires after 3 days
2024-09-12 19:15:08 -04:00
#######################################
###### DATABASE ######
#######################################
2024-09-16 20:00:50 -04:00
DB_DRIVER=sqlite # mysql | postgres | sqlite
2024-09-12 19:15:08 -04:00
#_____ MYSQL _____#
MYSQL_HOST=db-host-here
MYSQL_DB_NAME=db-name-here
MYSQL_PORT=3306
MYSQL_USERNAME=db-user-here
MYSQL_PASSWORD=db-password-here
MYSQL_CHARSET=utf8mb4
#_____ postgres _____#
POSTGRES_HOST=localhost
POSTGRES_USER=user
POSTGRES_PASSWORD=secret
POSTGRES_DB_NAME=db_test
POSTGRES_PORT=5432
POSTGRES_SSL_MODE=disable
2024-09-28 13:30:49 -04:00
POSTGRES_TIMEZONE=America/Argentina/Buenos_Aires
2024-09-12 19:15:08 -04:00
#_____ SQLITE _____#
2024-10-24 18:06:52 -04:00
SQLITE_DB_PATH=storage/sqlite/sqlite.db
2024-09-12 19:15:08 -04:00
#######################################
###### CACHE ######
#######################################
CACHE_DRIVER=redis
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=0
#######################################
###### Emails ######
#######################################
EMAILS_DRIVER=smtp # smtp | sparkpost | sendgrid | mailgun
#_____ SMTP _____#
SMTP_HOST=
SMTP_PORT=25
SMTP_USERNAME=
SMTP_PASSWORD=
SMTP_TLS_SKIP_VERIFY_HOST=true # (set true for development only!)
#_____ sparkpost _____#
SPARKPOST_BASE_URL=https://api.sparkpost.com
SPARKPOST_API_VERSION=1
SPARKPOST_API_KEY=sparkpost-api-key-here # the api key
#_____ sendgrid _____#
SENDGRID_HOST=https://api.sendgrid.com
SENDGRID_ENDPOINT=/v3/mail/send
SENDGRID_API_KEY=sendgrid-api-key-here # the api key
#_____ mailgun _____#
MAILGUN_DOMAIN=your-domain.com # your domain
MAILGUN_API_KEY=mailgun-api-key-here # the api key
MAILGUN_TLS_SKIP_VERIFY_HOST=true # (set true for development only!)