forked from catima/catima
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.env
108 lines (88 loc) · 3.72 KB
/
example.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# Copy this file into a new file called ".env" in the root of the project.
# The dotenv gem will load the contents of .env into the environment when
# Rails starts. Access values like this: ENV["SECRET_KEY_BASE"]
#
# The purpose of this file is to keep secrets out of source control.
# For more information, see: https://github.com/bkeepers/dotenv
SECRET_KEY_BASE=your-rails-secret-key-base
MAIL_SMTP_ADDRESS=smtp.example.com
MAIL_SMTP_AUTH=1
MAIL_SMTP_USERNAME=smtp-username
MAIL_SMTP_PASSWORD=smtp-password
MAIL_SMTP_PORT=587
MAIL_SMTP_DOMAIN=catima.example.com
MAIL_SENDER=catima@example.com
# Define the base url of the documentation repository.
DOC_BASE_URL=https://catima.github.io/userdoc
# If you want to change the maxium upload size (in MB) for the specified fields,
# please uncomment the lines below and change the values. Defaut is 200MB for
# the file field, and 15MB for the image field.
#FILE_MAX_UPLOAD_SIZE=200
#IMAGE_MAX_UPLOAD_SIZE=15
# If you want to change the export validity for the catalogs (in days), please
# uncomment the line below and change the value. Defaut is 7 days.
#EXPORTS_VALIDITY=7
# If you want to disable visits & events tracking, please change the value to 0.
AHOY_ENABLE_TRACKING=1
# If you want to change the stats visits & events validity (in months), please
# uncomment the lines below and change the value. Defaut is 6 months for the visits,
# and 4 months for the events.
#AHOY_VISITS_VALIDITY=6
#AHOY_EVENTS_VALIDITY=4
# If you want to change the api & entry logs validity (in months), please
# uncomment the lines below and change the value. Defaut is 4 months.
#ENTRY_LOGS_VALIDITY=4
#API_LOGS_VALIDITY=4
# If you want to change the initial zoom level of the Geometry field map, please
# uncomment the lines below and change the value. Defaut is 5 for distant,
# 10 for medium and 15 for close.
#ZOOM_LEVEL_DISTANT=5
#ZOOM_LEVEL_MEDIUM=10
#ZOOM_LEVEL_CLOSE=15
# If you want to change the default color of the polygons and polylines of the Geometry
# field, please uncomment the lines below and change the value. Defauts are #9336af for
# polygons, and #000000 for polylines. Must be a valid hexadecimal color value.
#POLYGON_COLOR=#9336af
#POLYLINE_COLOR=#000000
# If you want to enable maintenance mode, please change the value to 1. To allow
# access to an IP address please use the MAINTAINER_IPS variable. Its value should
# be a comma-delimited list of IP addresses for whom we want to enable access.
MAINTENANCE_MODE=0
#MAINTAINER_IPS=127.0.0.1
# If you want to configure an external redis host, please uncomment the line below.
# Default is localhost 6379/0.
#REDIS_HOST=your-redis-host.example.com
#REDIS_PORT=6379
#REDIS_DB=0
# Define the domain and protocol settings
# Your asset host can be the same server as the Rails app,
# but you can also move your assets on a different server.
# Example settings for a production environment:
#
# ASSET_HOST=https://catima-assets.example.com
# DOMAIN=catima.example.com
# PROTOCOL=https
#
# For local development we can simply use:
ASSET_HOST=http://localhost:3000
DOMAIN=localhost:3000
PROTOCOL=http
# Authentication settings
# CATIMA can use different authentication strategies.
# Setting the appropriate values here enables the strategy in the app.
#AUTH_FACEBOOK_APP_ID=
#AUTH_FACEBOOK_APP_SECRET=
# To use the GitHub auth strategy, you'll need to sign up for an OAuth2
# Application ID and Secret on https://github.com/settings/developers
AUTH_GITHUB_APP_ID=github_app_id
AUTH_GITHUB_APP_SECRET=github_app_secret
#AUTH_SHIB_SESSION_ID=
#AUTH_SHIB_APP_ID=
#AUTH_SHIB_NAME=
# Bugsnag integration key
BUGSNAG_API_KEY=your-bugsnag-api-key
# Google Recaptcha integration keys
RECAPTCHA_SITE_KEY=site_key
RECAPTCHA_SECRET_KEY=secret_key
# API V3 auth secret
DEVISE_JWT_SECRET_KEY=secret