2016-01-19 03:00:35 +01:00
|
|
|
APP_ENV=production
|
|
|
|
|
|
|
|
# Set to true if debugging
|
|
|
|
APP_DEBUG=false
|
|
|
|
|
|
|
|
# 32-character key (e.g 3EWBLwxTfh%*f&xRBqdGEIUVvn4%$Hfi)
|
|
|
|
APP_KEY={{$APP_KEY}}
|
|
|
|
|
|
|
|
# Your app's name (shown on interface)
|
|
|
|
APP_NAME={{$APP_NAME}}
|
|
|
|
|
|
|
|
# Protocol to access your app. e.g https://
|
|
|
|
APP_PROTOCOL={{$APP_PROTOCOL}}
|
|
|
|
|
|
|
|
# Your app's external address (e.g example.com)
|
|
|
|
APP_ADDRESS={{$APP_ADDRESS}}
|
|
|
|
|
|
|
|
# Your app's bootstrap stylesheet
|
|
|
|
# e.g https://maxcdn.bootstrapcdn.com/bootswatch/3.3.5/flatly/bootstrap.min.css
|
|
|
|
APP_STYLESHEET={{$APP_STYLESHEET}}
|
|
|
|
|
|
|
|
# Set to today's date (e.g November 3, 2015)
|
|
|
|
POLR_GENERATED_AT={{$POLR_GENERATED_AT}}
|
|
|
|
|
|
|
|
# Set to true after running setup script
|
|
|
|
# e.g true
|
|
|
|
POLR_SETUP_RAN={{$POLR_SETUP_RAN}}
|
|
|
|
|
|
|
|
DB_CONNECTION=mysql
|
|
|
|
# Set to your DB host (e.g localhost)
|
2016-04-14 00:50:30 +02:00
|
|
|
DB_HOST={{{$DB_HOST}}}
|
2016-01-19 03:00:35 +01:00
|
|
|
# DB port (e.g 3306)
|
|
|
|
DB_PORT={{$DB_PORT}}
|
|
|
|
# Set to your DB name (e.g polr)
|
2016-04-14 00:50:30 +02:00
|
|
|
DB_DATABASE={{{$DB_DATABASE}}}
|
2016-01-19 03:00:35 +01:00
|
|
|
# DB credentials
|
|
|
|
# e.g root
|
2016-04-14 00:50:30 +02:00
|
|
|
DB_USERNAME={{{$DB_USERNAME}}}
|
|
|
|
DB_PASSWORD={{{$DB_PASSWORD}}}
|
2016-01-19 03:00:35 +01:00
|
|
|
|
|
|
|
# Polr Settings
|
2016-04-16 21:50:25 +02:00
|
|
|
|
|
|
|
# Set to true to show an interface to logged off users
|
|
|
|
# If false, set the SETTING_INDEX_REDIRECT
|
|
|
|
# You may login by heading to /login if the public interface is off
|
2016-01-19 03:00:35 +01:00
|
|
|
SETTING_PUBLIC_INTERFACE={{$ST_PUBLIC_INTERFACE}}
|
|
|
|
|
|
|
|
# Set to true to allow signups, false to disable (e.g true/false)
|
|
|
|
POLR_ALLOW_ACCT_CREATION={{$POLR_ALLOW_ACCT_CREATION}}
|
|
|
|
|
|
|
|
# Set to true to require activation by email (e.g true/false)
|
|
|
|
POLR_ACCT_ACTIVATION={{$POLR_ACCT_ACTIVATION}}
|
|
|
|
|
2016-04-16 21:50:25 +02:00
|
|
|
# Set to true to require users to be logged in before shortening URLs
|
2016-01-19 03:00:35 +01:00
|
|
|
SETTING_SHORTEN_PERMISSION={{$ST_SHORTEN_PERMISSION}}
|
2016-04-16 21:50:25 +02:00
|
|
|
|
|
|
|
# You must set SETTING_INDEX_REDIRETC if SETTING_PUBLIC_INTERFACE is false
|
|
|
|
# Polr will redirect logged off users to this URL
|
2016-01-19 03:00:35 +01:00
|
|
|
SETTING_INDEX_REDIRECT={{$ST_INDEX_REDIRECT}}
|
2016-04-16 21:50:25 +02:00
|
|
|
|
|
|
|
# Set to true to enable password recovery
|
2016-01-19 03:00:35 +01:00
|
|
|
SETTING_PASSWORD_RECOV={{$ST_PASSWORD_RECOV}}
|
|
|
|
|
2016-04-16 21:50:25 +02:00
|
|
|
# Set to true to generate API keys for each user on registration
|
2016-02-20 01:13:50 +01:00
|
|
|
SETTING_AUTO_API={{$ST_AUTO_API}}
|
2016-04-16 21:50:25 +02:00
|
|
|
|
|
|
|
# Set to true to allow anonymous API access
|
2016-02-20 01:13:50 +01:00
|
|
|
SETTING_ANON_API={{$ST_ANON_API}}
|
|
|
|
|
2016-04-16 21:50:25 +02:00
|
|
|
# Set each to blank to disable mail
|
2016-01-19 03:00:35 +01:00
|
|
|
@if($MAIL_ENABLED)
|
|
|
|
MAIL_DRIVER=smtp
|
|
|
|
# e.g mailtrap.io
|
|
|
|
MAIL_HOST={{$MAIL_HOST}}
|
|
|
|
# e.g 2525
|
|
|
|
MAIL_PORT={{$MAIL_PORT}}
|
|
|
|
MAIL_USERNAME={{$MAIL_USERNAME}}
|
|
|
|
MAIL_PASSWORD={{$MAIL_PASSWORD}}
|
|
|
|
# e.g noreply@example.com
|
|
|
|
MAIL_FROM_ADDRESS={{$MAIL_FROM_ADDRESS}}
|
|
|
|
MAIL_FROM_NAME={{$MAIL_FROM_NAME}}
|
|
|
|
@endif
|
|
|
|
|
|
|
|
APP_LOCALE=en
|
|
|
|
APP_FALLBACK_LOCALE=en
|
|
|
|
|
|
|
|
CACHE_DRIVER=file
|
|
|
|
SESSION_DRIVER=file
|
|
|
|
QUEUE_DRIVER=database
|
|
|
|
|
2016-02-20 01:13:50 +01:00
|
|
|
_API_KEY_LENGTH=15
|
|
|
|
|
2016-01-19 03:00:35 +01:00
|
|
|
# FILESYSTEM_DRIVER=local
|
|
|
|
# FILESYSTEM_CLOUD=s3
|
|
|
|
|
|
|
|
# S3_KEY=null
|
|
|
|
# S3_SECRET=null
|
|
|
|
# S3_REGION=null
|
|
|
|
# S3_BUCKET=null
|
|
|
|
|
|
|
|
# RACKSPACE_USERNAME=null
|
|
|
|
# RACKSPACE_KEY=null
|
|
|
|
# RACKSPACE_CONTAINER=null
|
|
|
|
# RACKSPACE_REGION=null
|
|
|
|
|
2016-04-16 21:50:25 +02:00
|
|
|
# Set to 32 or 62 -- do not touch after initial configuration
|
|
|
|
POLR_BASE={{$ST_BASE}}
|
|
|
|
|
2016-01-19 03:00:35 +01:00
|
|
|
# Do not touch
|
|
|
|
POLR_RELDATE={{env('VERSION_RELMONTH')}} {{env('VERSION_RELDAY')}}, {{env('VERSION_RELYEAR')}}
|
|
|
|
POLR_VERSION={{env('VERSION')}}
|
|
|
|
POLR_SECRET_BYTES=2
|
2016-02-27 04:00:15 +01:00
|
|
|
|
|
|
|
TMP_SETUP_AUTH_KEY={{$TMP_SETUP_AUTH_KEY}}
|