updates
This commit is contained in:
parent
986121ef0d
commit
3e8ae397d8
2 changed files with 4 additions and 84 deletions
|
@ -1,11 +1,11 @@
|
||||||
#######################################
|
#######################################
|
||||||
###### App ######
|
###### App ######
|
||||||
#######################################
|
#######################################
|
||||||
APP_NAME=GoCondor
|
APP_NAME=Cup
|
||||||
APP_ENV=local # local | testing | production
|
APP_ENV=local # local | testing | production
|
||||||
APP_DEBUG_MODE=true
|
APP_DEBUG_MODE=true
|
||||||
App_HTTP_HOST=localhost
|
App_HTTP_HOST=localhost
|
||||||
App_HTTP_PORT=80
|
App_HTTP_PORT=8080
|
||||||
App_USE_HTTPS=false
|
App_USE_HTTPS=false
|
||||||
App_USE_LETSENCRYPT=false
|
App_USE_LETSENCRYPT=false
|
||||||
APP_LETSENCRYPT_EMAIL=mail@example.com
|
APP_LETSENCRYPT_EMAIL=mail@example.com
|
||||||
|
@ -18,12 +18,12 @@ App_KEY_FILE_PATH=tls/server.key
|
||||||
###### JWT ######
|
###### JWT ######
|
||||||
#######################################
|
#######################################
|
||||||
JWT_SECRET=dkfTgonmgaAdlgkw
|
JWT_SECRET=dkfTgonmgaAdlgkw
|
||||||
JWT_LIFESPAN_MINUTES=10080 # expires after 7 days
|
JWT_LIFESPAN_MINUTES=4320 # expires after 3 days
|
||||||
|
|
||||||
#######################################
|
#######################################
|
||||||
###### DATABASE ######
|
###### DATABASE ######
|
||||||
#######################################
|
#######################################
|
||||||
DB_DRIVER=mysql # mysql | postgres | sqlite
|
DB_DRIVER=sqlite # mysql | postgres | sqlite
|
||||||
#_____ MYSQL _____#
|
#_____ MYSQL _____#
|
||||||
MYSQL_HOST=db-host-here
|
MYSQL_HOST=db-host-here
|
||||||
MYSQL_DB_NAME=db-name-here
|
MYSQL_DB_NAME=db-name-here
|
||||||
|
|
80
.env-sample
80
.env-sample
|
@ -1,80 +0,0 @@
|
||||||
#######################################
|
|
||||||
###### App ######
|
|
||||||
#######################################
|
|
||||||
APP_NAME=Goffee
|
|
||||||
APP_ENV=local # local | testing | production
|
|
||||||
APP_DEBUG_MODE=true
|
|
||||||
App_HTTP_HOST=localhost
|
|
||||||
App_HTTP_PORT=8080
|
|
||||||
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
|
|
||||||
|
|
||||||
#######################################
|
|
||||||
###### JWT ######
|
|
||||||
#######################################
|
|
||||||
JWT_SECRET=DFfTfidmgWAdlgkw
|
|
||||||
JWT_LIFESPAN_MINUTES=4320 # expires after 3 days
|
|
||||||
|
|
||||||
#######################################
|
|
||||||
###### DATABASE ######
|
|
||||||
#######################################
|
|
||||||
DB_DRIVER=sqlite # mysql | postgres | sqlite
|
|
||||||
#_____ 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
|
|
||||||
POSTGRES_TIMEZONE=Asia/Dubai
|
|
||||||
|
|
||||||
#_____ SQLITE _____#
|
|
||||||
SQLITE_DB_PATH=storage/sqlite.db
|
|
||||||
|
|
||||||
#######################################
|
|
||||||
###### 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!)
|
|
Loading…
Reference in a new issue