The following settings can be added to the .env
file and changed as you need them.
# The URL should be set if you notice issues with URLs generated by Laravel, which might be an issue with
# nginx configuration or the proxy you use.
APP_URL=http://localhost
# The environment is usually 'production' but may be changed to 'local' for development
APP_ENV=production
# Enable the debug more if you are running into issues or while developing
APP_DEBUG=false
# Set the time after a session expires automatically, in minutes. Default is 7 days.
SESSION_LIFETIME=10080
#### Backup configuration
# Enable backups here
BACKUP_ENABLED=false
# Choose the destination of the backup. If you set up AWS S3 credentials below you may choose 'cloud' which is used
# as a synonym for AWS. Leave blank or set to 'local_backups' if you want to store backups within /storage/app/backups.
BACKUP_DISK=s3
# The notification email may be used to get backup notifications, Mail must be configured for this to work!
[email protected]
# Maximum size of the backups in megabytes
BACKUP_MAX_SIZE=512
## Amazon Web Services (AWS) S3 configuration
# Define the key ID, the access key, the region and your bucket name here if you want to use AWS S3 for backups.
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
# Advanced S3 settings, only use them if you know what you are doing
AWS_SCHEME=https
AWS_BUCKET_ENDPOINT=[true/false]
AWS_PATH_STYLE_ENDPOINT=[true/false]
AWS_ACCELERATE_ENDPOINT=[true/false]
AWS_FIPS_ENDPOINT=[true/false]
AWS_DUAL_STACK_ENDPOINT=[true/false]
## Mail configuration
[email protected]
MAIL_FROM_NAME=LinkAce
# Set the driver used for sending email here, default is `smtp`
MAIL_DRIVER=smtp
# Set the SMTP host and its port here
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
# Set the username used to connect to the SMTP server here
MAIL_USERNAME=null
# Set the password used to connect to the SMTP server here
MAIL_PASSWORD=null
# If your SMTP server uses encrypted connections, enable it here by setting the variable to `tls`
MAIL_ENCRYPTION=null
## Redis cache configuration
# Set the Redis connection here if you want to use it
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=ChangeThisToASecurePassword!
REDIS_PORT=6379
## You probably do not want to change any values below. Only continue if you know what you are doing.
## If you are using Redis, you may switch SESSION_DRIVER and CACHE_DRIVER to "redis" to improve performance.
SESSION_DRIVER=file
LOG_CHANNEL=stack
BROADCAST_DRIVER=log
CACHE_DRIVER=file
QUEUE_DRIVER=database
## By default, LinkAce allows all proxies in front of it for the best compatibility without configuration.
## If you wan't to set trusted proxies, which increases security, configure them with the TRUSTED_PROXIES setting.
## Multiple proxies must be separated with a comma: 127.0.0.1,10.72.0.1,...
TRUSTED_PROXIES=*
## The hashing driver specifies how passwords should be hashed. Possible values are "bcrypt", "argon", "argon2id".
## bcrypt is the default for the wides compatibility with systems.
HASHING_DRIVER=bcrypt
BCRYPT_ROUNDS=12
## Using Redis sockets
# If you want to use Redis via a Unix socket, you can remove the hash before the following lines, but remove one before
# the "CACHE_DRIVER" line above. Also, set a proper path to your Redis socket.
#CACHE_DRIVER=redis-socket
#SESSION_CONNECTION=redis-socket
#REDIS_SCHEME=unix
#REDIS_PATH=/path/to/redis.sock