Advanced Settings

Warning: This is the documentation of a beta version of LinkAce. Things may break. Only use this version for tests.

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


## 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