2018-10-18 00:24:54 +02:00
|
|
|
#
|
|
|
|
# Welcome, friend ❤. Thanks for trying out Monica. We hope you'll have fun.
|
|
|
|
#
|
|
|
|
|
2018-05-28 14:24:43 +02:00
|
|
|
# Two choices: local|production. Use local if you want to install Monica as a
|
|
|
|
# development version. Use production otherwise.
|
2024-06-14 17:38:37 +02:00
|
|
|
APP_ENV=production
|
2017-06-23 18:46:50 +02:00
|
|
|
|
2018-05-28 14:24:43 +02:00
|
|
|
# true if you want to show debug information on errors. For production, put this
|
2017-06-23 18:46:50 +02:00
|
|
|
# to false.
|
2017-06-13 22:15:54 +02:00
|
|
|
APP_DEBUG=false
|
2017-06-23 18:46:50 +02:00
|
|
|
|
|
|
|
# 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.
|
2022-01-23 23:07:14 +01:00
|
|
|
# Use `php artisan key:generate` or `pwgen -s 32 1` to generate a random key.
|
|
|
|
APP_KEY=__RANDOM_KEY__
|
2017-06-23 18:46:50 +02:00
|
|
|
|
2018-05-28 14:24:43 +02:00
|
|
|
# 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
|
2017-06-23 18:46:50 +02:00
|
|
|
|
2018-05-28 14:24:43 +02:00
|
|
|
# The URL of your application.
|
2023-04-08 13:33:16 +02:00
|
|
|
APP_URL=https://__DOMAIN____PATH__
|
2017-06-08 13:32:01 +02:00
|
|
|
|
2022-01-30 02:32:04 +01:00
|
|
|
# Force using APP_URL as base url of your application.
|
|
|
|
# You should not need this, unless you are using subdirectory config.
|
|
|
|
APP_FORCE_URL=false
|
|
|
|
|
2017-06-23 18:46:50 +02:00
|
|
|
# Database information
|
|
|
|
# To keep this information secure, we urge you to change the default password
|
2022-01-30 02:32:04 +01:00
|
|
|
# Currently only "mysql" compatible servers are working
|
2017-06-08 13:32:01 +02:00
|
|
|
DB_CONNECTION=mysql
|
|
|
|
DB_HOST=127.0.0.1
|
|
|
|
DB_PORT=3306
|
2018-05-28 14:24:43 +02:00
|
|
|
# You can use mysql unix socket if available, it overrides DB_HOST and DB_PORT values.
|
|
|
|
#DB_UNIX_SOCKET=/var/run/mysqld/mysqld.sock
|
2022-01-23 23:07:14 +01:00
|
|
|
DB_DATABASE=__DB_NAME__
|
|
|
|
DB_USERNAME=__DB_USER__
|
|
|
|
DB_PASSWORD=__DB_PWD__
|
2018-05-28 14:24:43 +02:00
|
|
|
DB_PREFIX=
|
2018-07-28 21:11:37 +02:00
|
|
|
DB_TEST_HOST=127.0.0.1
|
2017-06-23 18:46:50 +02:00
|
|
|
DB_TEST_DATABASE=monica_test
|
|
|
|
DB_TEST_USERNAME=homestead
|
|
|
|
DB_TEST_PASSWORD=secret
|
2017-06-08 13:32:01 +02:00
|
|
|
|
2018-06-19 03:40:50 +02:00
|
|
|
# Use utf8mb4 database charset format to support emoji characters
|
|
|
|
# ⚠ be sure your DBMS supports utf8mb4 format
|
|
|
|
DB_USE_UTF8MB4=true
|
|
|
|
|
2017-06-23 18:46:50 +02:00
|
|
|
# Mail credentials used to send emails from the application.
|
2023-11-09 10:14:06 +01:00
|
|
|
MAIL_DRIVER=smtp
|
2017-06-12 22:23:08 +02:00
|
|
|
MAIL_HOST=127.0.0.1
|
|
|
|
MAIL_PORT=25
|
2023-11-09 10:14:06 +01:00
|
|
|
MAIL_USERNAME=__APP__
|
|
|
|
MAIL_PASSWORD=__MAIL_PWD__
|
2017-06-12 22:23:08 +02:00
|
|
|
MAIL_ENCRYPTION=
|
2019-02-16 12:07:24 +01:00
|
|
|
# Outgoing emails will be sent with these identity
|
2023-11-09 10:14:06 +01:00
|
|
|
MAIL_FROM_ADDRESS=__APP__@__DOMAIN__
|
2018-05-28 14:24:43 +02:00
|
|
|
MAIL_FROM_NAME="Monica"
|
2022-01-23 23:07:14 +01:00
|
|
|
# New registration notification sent to this email
|
|
|
|
APP_EMAIL_NEW_USERS_NOTIFICATION=__EMAIL__
|
2017-06-23 18:46:50 +02:00
|
|
|
|
2018-05-28 14:24:43 +02:00
|
|
|
|
|
|
|
# Default locale used in the application.
|
2022-01-23 23:07:14 +01:00
|
|
|
APP_DEFAULT_LOCALE=__LANGUAGE__
|
2017-06-23 18:46:50 +02:00
|
|
|
|
2018-10-01 04:26:32 +02:00
|
|
|
# Ability to disable signups on your instance.
|
|
|
|
# Can be true or false. Default to false.
|
2017-06-23 18:46:50 +02:00
|
|
|
APP_DISABLE_SIGNUP=true
|
|
|
|
|
2018-06-19 03:40:50 +02:00
|
|
|
# Enable user email verification.
|
|
|
|
APP_SIGNUP_DOUBLE_OPTIN=false
|
|
|
|
|
2018-05-28 14:24:43 +02:00
|
|
|
# Set trusted proxy IP addresses.
|
|
|
|
# To trust all proxies that connect directly to your server, use a "*".
|
2020-04-29 19:58:50 +02:00
|
|
|
# To trust one or more specific proxies that connect directly to your server,
|
|
|
|
# use a comma separated list of IP addresses.
|
2018-05-28 14:24:43 +02:00
|
|
|
APP_TRUSTED_PROXIES=
|
|
|
|
|
2018-07-28 21:11:37 +02:00
|
|
|
# Enable automatic cloudflare trusted proxy discover
|
|
|
|
APP_TRUSTED_CLOUDFLARE=false
|
|
|
|
|
2018-05-28 14:24:43 +02:00
|
|
|
# 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
|
2018-07-28 21:11:37 +02:00
|
|
|
SENTRY_LARAVEL_DSN=
|
2017-06-08 13:32:01 +02:00
|
|
|
|
2017-07-26 20:52:36 +02:00
|
|
|
# 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.
|
2018-05-28 14:24:43 +02:00
|
|
|
CHECK_VERSION=true
|
2017-07-26 20:52:36 +02:00
|
|
|
|
2020-04-29 19:58:50 +02:00
|
|
|
# Cache, session, and queue parameters
|
|
|
|
# ⚠ Change this only if you know what you are doing
|
|
|
|
#. Cache: database, file, memcached, redis, dynamodb
|
|
|
|
#. Session: file, cookie, database, apc, memcached, redis, array
|
|
|
|
#. Queue: sync, database, beanstalkd, sqs, redis
|
|
|
|
# If Queue is not set to 'sync', you'll have to set a queue worker
|
|
|
|
# See https://laravel.com/docs/5.7/queues#running-the-queue-worker
|
2017-06-23 18:46:50 +02:00
|
|
|
CACHE_DRIVER=database
|
|
|
|
SESSION_DRIVER=file
|
2018-05-28 14:24:43 +02:00
|
|
|
SESSION_LIFETIME=120
|
2020-04-29 19:58:50 +02:00
|
|
|
QUEUE_CONNECTION=sync
|
|
|
|
|
|
|
|
# If you use redis, set the redis host or ip, like:
|
|
|
|
#REDIS_HOST=redis
|
2017-06-08 13:32:01 +02:00
|
|
|
|
2018-10-18 00:24:54 +02:00
|
|
|
# Maximum allowed size for uploaded files, in kilobytes.
|
|
|
|
# Make sure this is an integer, without commas or spaces.
|
|
|
|
DEFAULT_MAX_UPLOAD_SIZE=10240
|
|
|
|
|
2018-11-11 21:58:33 +01:00
|
|
|
# Maximum allowed storage size per account, in megabytes.
|
|
|
|
# Make sure this is an integer, without commas or spaces.
|
|
|
|
DEFAULT_MAX_STORAGE_SIZE=512
|
|
|
|
|
2018-05-28 14:24:43 +02:00
|
|
|
# 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=
|
|
|
|
|
2022-01-30 02:32:04 +01:00
|
|
|
# Set to true if you use S3 and need path style URL support for bucket access
|
|
|
|
# The default is to use virtual-hosted style URLs which may not work everywhere
|
|
|
|
S3_PATH_STYLE=
|
|
|
|
|
2018-05-28 14:24:43 +02:00
|
|
|
# Allow Two Factor Authentication feature on your instance
|
2023-04-08 13:33:16 +02:00
|
|
|
MFA_ENABLED=true
|
2018-05-28 14:24:43 +02:00
|
|
|
|
2020-04-29 19:58:50 +02:00
|
|
|
# Enable DAV support
|
|
|
|
DAV_ENABLED=true
|
2018-11-11 21:58:33 +01:00
|
|
|
|
2018-05-28 14:24:43 +02:00
|
|
|
# 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
|
2020-04-29 19:58:50 +02:00
|
|
|
# Note: the official mobile application is not currently available on the stores.
|
2023-01-31 22:35:17 +01:00
|
|
|
MOBILE_CLIENT_ID=mobile_id
|
|
|
|
MOBILE_CLIENT_SECRET=mobile_key
|
2018-05-28 14:24:43 +02:00
|
|
|
|
|
|
|
# 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
|
2018-12-26 18:58:22 +01:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
# Number of contacts allowed in the Free version if the instance requires
|
|
|
|
# a subscription
|
|
|
|
NUMBER_OF_ALLOWED_CONTACTS_FREE_ACCOUNT=10
|
|
|
|
|
|
|
|
# ONLY NECESSARY IF MONICA REQUIRES A SUBSCRIPTION TO WORK
|
|
|
|
# Leave blank unless you know what you are doing.
|
|
|
|
STRIPE_KEY=
|
|
|
|
STRIPE_SECRET=
|
|
|
|
PAID_PLAN_MONTHLY_FRIENDLY_NAME=
|
|
|
|
PAID_PLAN_MONTHLY_ID=
|
|
|
|
PAID_PLAN_MONTHLY_PRICE=
|
|
|
|
PAID_PLAN_ANNUAL_FRIENDLY_NAME=
|
|
|
|
PAID_PLAN_ANNUAL_ID=
|
|
|
|
PAID_PLAN_ANNUAL_PRICE=
|
|
|
|
|
|
|
|
# Enable geolocation services
|
|
|
|
# This is used to translate addresses to GPS coordinates.
|
|
|
|
ENABLE_GEOLOCATION=false
|
|
|
|
|
|
|
|
# API key for geolocation services
|
|
|
|
# We use LocationIQ (https://locationiq.com/) to translate addresses to
|
|
|
|
# latitude/longitude coordinates. We could use Google instead but we don't
|
|
|
|
# want to give anything to Google, ever.
|
|
|
|
# LocationIQ offers 10,000 free requests per day.
|
|
|
|
LOCATION_IQ_API_KEY=
|
|
|
|
|
|
|
|
# Enable weather on contact profile page
|
|
|
|
# Weather can only be fetched if we know longitude/latitude - this is why
|
|
|
|
# you also need to activate the geolocation service above to make it work
|
|
|
|
ENABLE_WEATHER=false
|
|
|
|
|
|
|
|
# Access to weather data from darksky api
|
2022-01-30 02:32:04 +01:00
|
|
|
# https://www.weatherapi.com/signup.aspx
|
2018-12-26 18:58:22 +01:00
|
|
|
# You need to enable the weather above if you provide an API key here.
|
2022-01-30 02:32:04 +01:00
|
|
|
WEATHERAPI_KEY=
|
|
|
|
|
|
|
|
# Configure rate limits for RouteService per minute
|
|
|
|
RATE_LIMIT_PER_MINUTE_API=60
|
|
|
|
RATE_LIMIT_PER_MINUTE_OAUTH=5
|