mirror of
https://github.com/YunoHost-Apps/monica_ynh.git
synced 2024-09-03 19:46:23 +02:00
126 lines
3.8 KiB
Bash
126 lines
3.8 KiB
Bash
# Two choices: local|production. Use local if you want to install Monica as a
|
|
# development version. Use production otherwise.
|
|
APP_ENV=local
|
|
|
|
# true if you want to show debug information on errors. For production, put this
|
|
# to false.
|
|
APP_DEBUG=false
|
|
|
|
# The encryption key. This is the most important part of the application. Keep
|
|
# this secure otherwise, everyone will be able to access your application.
|
|
# Must be 32 characters long exactly.
|
|
# Use `php artisan key:generate` to generate a random key.
|
|
APP_KEY=random_key
|
|
|
|
# Prevent information leakage by referring to IDs with hashIds instead of
|
|
# the actual IDs used in the database.
|
|
HASH_SALT=ChangeMeBy20+KeyLength
|
|
HASH_LENGTH=18
|
|
|
|
# The URL of your application.
|
|
APP_URL=http://localhost
|
|
|
|
# Database information
|
|
# To keep this information secure, we urge you to change the default password
|
|
DB_CONNECTION=mysql
|
|
DB_HOST=127.0.0.1
|
|
DB_PORT=3306
|
|
# You can use mysql unix socket if available, it overrides DB_HOST and DB_PORT values.
|
|
#DB_UNIX_SOCKET=/var/run/mysqld/mysqld.sock
|
|
DB_DATABASE=yunobase
|
|
DB_USERNAME=yunouser
|
|
DB_PASSWORD=yunopass
|
|
DB_PREFIX=
|
|
DB_TEST_HOST=127.0.0.1
|
|
DB_TEST_DATABASE=monica_test
|
|
DB_TEST_USERNAME=homestead
|
|
DB_TEST_PASSWORD=secret
|
|
|
|
# Use utf8mb4 database charset format to support emoji characters
|
|
# ⚠ be sure your DBMS supports utf8mb4 format
|
|
DB_USE_UTF8MB4=true
|
|
|
|
# Mail credentials used to send emails from the application.
|
|
MAIL_DRIVER=mail
|
|
MAIL_HOST=127.0.0.1
|
|
MAIL_PORT=25
|
|
MAIL_USERNAME=
|
|
MAIL_PASSWORD=
|
|
MAIL_ENCRYPTION=
|
|
MAIL_FROM_ADDRESS=monica@yunodomain
|
|
MAIL_FROM_NAME="Monica"
|
|
APP_EMAIL_NEW_USERS_NOTIFICATION=yunomail
|
|
|
|
|
|
# Default locale used in the application.
|
|
APP_DEFAULT_LOCALE=language
|
|
|
|
# Ability to disable signups on your instance.
|
|
# Can be true or false. Default to false.
|
|
APP_DISABLE_SIGNUP=true
|
|
|
|
# Enable user email verification.
|
|
APP_SIGNUP_DOUBLE_OPTIN=false
|
|
|
|
# Set trusted proxy IP addresses.
|
|
# To trust all proxies that connect directly to your server, use a "*".
|
|
# To trust one or more specific proxies that connect directly to your server, use a comma separated list of IP addresses.
|
|
APP_TRUSTED_PROXIES=
|
|
|
|
# Enable automatic cloudflare trusted proxy discover
|
|
APP_TRUSTED_CLOUDFLARE=false
|
|
|
|
# Frequency of creation of new log files. Logs are written when an error occurs.
|
|
# Refer to config/logging.php for the possible values.
|
|
LOG_CHANNEL=daily
|
|
|
|
# Error tracking. Specific to hosted version on .com. You probably don't need
|
|
# those.
|
|
SENTRY_SUPPORT=false
|
|
SENTRY_LARAVEL_DSN=
|
|
|
|
# Send a daily ping to https://version.monicahq.com to check if a new version
|
|
# is available. When a new version is detected, you will have a message in the
|
|
# UI, as well as the release notes for the new changes. Can be true or false.
|
|
# Default to true.
|
|
CHECK_VERSION=true
|
|
|
|
# Have access to paid features available on https://monicahq.com, for free.
|
|
# Can be true or false. Default to false.
|
|
# If set to true, that means your users will have to pay to access the paid
|
|
# features. We use Stripe to do this.
|
|
REQUIRES_SUBSCRIPTION=false
|
|
|
|
# Change this only if you know what you are doing
|
|
CACHE_DRIVER=database
|
|
SESSION_DRIVER=file
|
|
SESSION_LIFETIME=120
|
|
QUEUE_DRIVER=sync
|
|
|
|
# Default filesystem to store uploaded files.
|
|
# Possible values: public|s3
|
|
DEFAULT_FILESYSTEM=public
|
|
|
|
# AWS keys for S3 when using this storage method
|
|
AWS_KEY=
|
|
AWS_SECRET=
|
|
AWS_REGION=us-east-1
|
|
AWS_BUCKET=
|
|
AWS_SERVER=
|
|
|
|
# Allow Two Factor Authentication feature on your instance
|
|
MFA_ENABLED=false
|
|
|
|
# CLIENT ID and SECRET used for the official mobile application
|
|
# This is to make sure that only the mobile application that you approve can
|
|
# access the route to let your users sign in with their credentials
|
|
MOBILE_CLIENT_ID=
|
|
MOBILE_CLIENT_SECRET=
|
|
|
|
# Allow to access general statistics about your instance through a public API
|
|
# call
|
|
ALLOW_STATISTICS_THROUGH_PUBLIC_API_ACCESS=false
|
|
|
|
# Indicates that each user in the instance must comply to international policies
|
|
# like CASL or GDPR
|
|
POLICY_COMPLIANT=true
|