Last active
November 25, 2022 17:53
-
-
Save Kovah/c47e1d13f9c6fbdc3f2c3b4472e19c13 to your computer and use it in GitHub Desktop.
Linkace Ansible 2022-11 - env.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## LINKACE CONFIGURATION | |
## Basic app configuration | |
# The application name is used internally and may not be changed | |
APP_NAME=LinkAce | |
COMPOSE_PROJECT_NAME={{ docker_compose_project }} | |
# 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={{ app_url }} | |
# The environment is usually 'production' but may be changed to 'local' for development | |
APP_ENV=production | |
# The app key is generated later, please leave it blank | |
APP_KEY={{ linkace_app_key }} | |
# 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' if you want to store backups within /storage/app/backups. | |
BACKUP_DISK=cloud | |
# Set to false if you do not want to be notified about successful or broken backups | |
BACKUP_NOTIFICATIONS=true | |
# The notification email may be used to get backup notifications | |
[email protected] | |
# Maximum size of the backups in megabytes | |
BACKUP_MAX_SIZE=512 | |
## Mail configuration | |
# Set the driver used for sending email here, default is `smtp` | |
MAIL_DRIVER=log | |
# 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 | |
## Configuration of the database connection | |
## If you are using the standard configuration provided by LinkAce, you can leave all values except the password as | |
## they are. Docker will automatically create a linkace database and a corresponding user. | |
DB_CONNECTION=mysql | |
DB_HOST={{ linkace_db_host }} | |
DB_PORT=3306 | |
DB_DATABASE={{ linkace_db_name }} | |
# Even if you use the standard configuration, please set a secure password here. | |
DB_USERNAME={{ linkace_db_name }} | |
DB_PASSWORD={{ linkace_db_pass }} | |
## Redis cache configuration | |
# Set the Redis connection here if you want to use it | |
REDIS_HOST=redis | |
REDIS_PASSWORD={{ linkace_redis_pass }} | |
REDIS_PORT=6379 | |
## You probably do not want to change any values blow. Only continue if you know what you are doing. | |
# Configure various driver | |
SESSION_DRIVER=redis | |
LOG_CHANNEL=stack | |
BROADCAST_DRIVER=log | |
CACHE_DRIVER=redis | |
QUEUE_DRIVER=database |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment