· 6 years ago · Sep 07, 2019, 01:16 AM
1#
2# Welcome, friend ❤. Thanks for trying out Monica. We hope you'll have fun.
3#
4
5# Two choices: local|production. Use local if you want to install Monica as a
6# development version. Use production otherwise.
7APP_ENV=local
8
9# true if you want to show debug information on errors. For production, put this
10# to false.
11APP_DEBUG=false
12
13# The encryption key. This is the most important part of the application. Keep
14# this secure otherwise, everyone will be able to access your application.
15# Must be 32 characters long exactly.
16# Use `php artisan key:generate` to generate a random key.
17APP_KEY=ChangeMeBy32KeyLengthOrGenerated
18
19# Prevent information leakage by referring to IDs with hashIds instead of
20# the actual IDs used in the database.
21HASH_SALT=ChangeMeBy20+KeyLength
22HASH_LENGTH=18
23
24# The URL of your application.
25APP_URL=http://localhost
26
27# Database information
28# To keep this information secure, we urge you to change the default password
29DB_CONNECTION=mysql
30DB_HOST=mysql
31DB_PORT=3306
32# You can use mysql unix socket if available, it overrides DB_HOST and DB_PORT values.
33#DB_UNIX_SOCKET=/var/run/mysqld/mysqld.sock
34DB_DATABASE=monica
35DB_USERNAME=homestead
36DB_PASSWORD=secret
37DB_PREFIX=
38DB_TEST_HOST=127.0.0.1
39DB_TEST_DATABASE=monica_test
40DB_TEST_USERNAME=homestead
41DB_TEST_PASSWORD=secret
42
43# Use utf8mb4 database charset format to support emoji characters
44# ⚠ be sure your DBMS supports utf8mb4 format
45DB_USE_UTF8MB4=true
46
47# Mail credentials used to send emails from the application.
48MAIL_DRIVER=smtp
49MAIL_HOST=mailtrap.io
50MAIL_PORT=2525
51MAIL_USERNAME=null
52MAIL_PASSWORD=null
53MAIL_ENCRYPTION=null
54# Outgoing emails will be sent with these identity
55MAIL_FROM_ADDRESS=
56MAIL_FROM_NAME="Monica instance"
57# New registration notification sent to this email
58APP_EMAIL_NEW_USERS_NOTIFICATION=
59
60# Default locale used in the application.
61APP_DEFAULT_LOCALE=en
62
63# Ability to disable signups on your instance.
64# Can be true or false. Default to false.
65APP_DISABLE_SIGNUP=true
66
67# Enable user email verification.
68APP_SIGNUP_DOUBLE_OPTIN=false
69
70# Set trusted proxy IP addresses.
71# To trust all proxies that connect directly to your server, use a "*".
72# To trust one or more specific proxies that connect directly to your server, use a comma separated list of IP addresses.
73APP_TRUSTED_PROXIES=
74
75# Enable automatic cloudflare trusted proxy discover
76APP_TRUSTED_CLOUDFLARE=false
77
78# Frequency of creation of new log files. Logs are written when an error occurs.
79# Refer to config/logging.php for the possible values.
80LOG_CHANNEL=daily
81
82# Error tracking. Specific to hosted version on .com. You probably don't need
83# those.
84SENTRY_SUPPORT=false
85SENTRY_LARAVEL_DSN=
86
87# Send a daily ping to https://version.monicahq.com to check if a new version
88# is available. When a new version is detected, you will have a message in the
89# UI, as well as the release notes for the new changes. Can be true or false.
90# Default to true.
91CHECK_VERSION=true
92
93# Change this only if you know what you are doing
94CACHE_DRIVER=database
95SESSION_DRIVER=file
96SESSION_LIFETIME=120
97QUEUE_DRIVER=sync
98
99# Maximum allowed size for uploaded files, in kilobytes.
100# Make sure this is an integer, without commas or spaces.
101DEFAULT_MAX_UPLOAD_SIZE=10240
102
103# Maximum allowed storage size per account, in megabytes.
104# Make sure this is an integer, without commas or spaces.
105DEFAULT_MAX_STORAGE_SIZE=512
106
107# Default filesystem to store uploaded files.
108# Possible values: public|s3
109DEFAULT_FILESYSTEM=public
110
111# AWS keys for S3 when using this storage method
112AWS_KEY=
113AWS_SECRET=
114AWS_REGION=us-east-1
115AWS_BUCKET=
116AWS_SERVER=
117
118# Allow Two Factor Authentication feature on your instance
119MFA_ENABLED=true
120
121# Enable DAV support (beta feature)
122DAV_ENABLED=false
123
124# CLIENT ID and SECRET used for the official mobile application
125# This is to make sure that only the mobile application that you approve can
126# access the route to let your users sign in with their credentials
127# Note: the official mobile application is not currently available on the stores.
128MOBILE_CLIENT_ID=
129MOBILE_CLIENT_SECRET=
130
131# Allow to access general statistics about your instance through a public API
132# call
133ALLOW_STATISTICS_THROUGH_PUBLIC_API_ACCESS=false
134
135# Indicates that each user in the instance must comply to international policies
136# like CASL or GDPR
137POLICY_COMPLIANT=true
138
139# Have access to paid features available on https://monicahq.com, for free.
140# Can be true or false. Default to false.
141# If set to true, that means your users will have to pay to access the paid
142# features. We use Stripe to do this.
143REQUIRES_SUBSCRIPTION=false
144
145# Number of contacts allowed in the Free version if the instance requires
146# a subscription
147NUMBER_OF_ALLOWED_CONTACTS_FREE_ACCOUNT=10
148
149# ONLY NECESSARY IF MONICA REQUIRES A SUBSCRIPTION TO WORK
150# Leave blank unless you know what you are doing.
151STRIPE_KEY=
152STRIPE_SECRET=
153PAID_PLAN_MONTHLY_FRIENDLY_NAME=
154PAID_PLAN_MONTHLY_ID=
155PAID_PLAN_MONTHLY_PRICE=
156PAID_PLAN_ANNUAL_FRIENDLY_NAME=
157PAID_PLAN_ANNUAL_ID=
158PAID_PLAN_ANNUAL_PRICE=
159
160# Enable geolocation services
161# This is used to translate addresses to GPS coordinates.
162ENABLE_GEOLOCATION=false
163
164# API key for geolocation services
165# We use LocationIQ (https://locationiq.com/) to translate addresses to
166# latitude/longitude coordinates. We could use Google instead but we don't
167# want to give anything to Google, ever.
168# LocationIQ offers 10,000 free requests per day.
169LOCATION_IQ_API_KEY=
170
171# Enable weather on contact profile page
172# Weather can only be fetched if we know longitude/latitude - this is why
173# you also need to activate the geolocation service above to make it work
174ENABLE_WEATHER=false
175
176# Access to weather data from darksky api
177# https://darksky.net/dev/register
178# Darksky provides an api with 1000 free API calls per day
179# You need to enable the weather above if you provide an API key here.
180DARKSKY_API_KEY=