Skip to content

Instantly share code, notes, and snippets.

@Kovah
Last active November 25, 2022 17:53
Show Gist options
  • Save Kovah/c47e1d13f9c6fbdc3f2c3b4472e19c13 to your computer and use it in GitHub Desktop.
Save Kovah/c47e1d13f9c6fbdc3f2c3b4472e19c13 to your computer and use it in GitHub Desktop.

Revisions

  1. Kovah revised this gist Nov 25, 2022. 1 changed file with 0 additions and 4 deletions.
    4 changes: 0 additions & 4 deletions env.j2
    Original file line number Diff line number Diff line change
    @@ -13,10 +13,6 @@ APP_ENV=production
    APP_KEY={{ linkace_app_key }}
    # Enable the debug more if you are running into issues or while developing
    APP_DEBUG=false
    # Set to true, if you are using a proxy that terminates SSL. Required to get the correct URLs for LinkAce
    FORCE_HTTPS=false
    # Indicates that the setup was completed and the app can be used now
    SETUP_COMPLETED=true
    # Set the time after a session expires automatically, in minutes. Default is 7 days.
    SESSION_LIFETIME=10080

  2. Kovah created this gist Nov 25, 2022.
    77 changes: 77 additions & 0 deletions env.j2
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,77 @@
    ## 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 to true, if you are using a proxy that terminates SSL. Required to get the correct URLs for LinkAce
    FORCE_HTTPS=false
    # Indicates that the setup was completed and the app can be used now
    SETUP_COMPLETED=true
    # 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