-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy path.env-example
More file actions
61 lines (47 loc) · 2.94 KB
/
.env-example
File metadata and controls
61 lines (47 loc) · 2.94 KB
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
# Set the service urls to be saved for 10 weeks
# Default: "1" week
# DECIDIM_SERVICE_URLS_EXPIRES_IN=10
# Deactivate DEFACE when views are already precompiled
# More information: https://github.com/spree/deface#production--precompiling
DEFACE_ENABLED=false
# Force profile synchronization on every omniauth login
# see config/initializers/omniauth.rb#update_profile
# Default: true
# OMNIAUTH_FORCE_PROFILE_SYNC=true
# OMNIAUTH_FORCE_PROFILE_SYNC_FIELDS="name,email" # Comma-separated list of fields to sync (e.g., "name,email")
# Only work for name and email fields, if you want to sync more fields you need to implement the logic in the omniauth callbacks
# Skip redirect to the authorization page (if any enabled) on first login
# Default: true
# SKIP_FIRST_LOGIN_AUTHORIZATION=true
# Sort participatory processes by date
SORT_PROCESSES_BY_DATE=false
# Map provider and API key (used for map rendering)
MAPS_PROVIDER=here # Main maps provider (e.g., 'osm', 'here')
MAPS_API_KEY= # API key for the selected maps provider (if needed)
# Static map configuration (for rendering fixed images)
MAPS_STATIC_URL="https://image.maps.ls.hereapi.com/mia/1.6/mapview" # Static map image service URL
# Dynamic (interactive) map configuration
MAPS_DYNAMIC_PROVIDER=osm # Provider for dynamic/interactive maps (here it is OpenStreetMap)
MAPS_DYNAMIC_URL=https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png # Tile URL for the provider you are using (here it is OpenStreetMap)
MAPS_ATTRIBUTION='<a href="https://www.openstreetmap.org/copyright" target="_blank">© OpenStreetMap</a> contributors' # Legal attribution for map tiles
# Geocoder configuration (for converting addresses to coordinates)
GEOCODER_TIMEOUT=5 # Timeout for geocoding requests (in seconds)
GEOCODER_UNITS=km # Units for geocoder results (e.g., km or mi)
# Delay until a user is considered inactive and receive a warning email (in days, default: 365)
# DECIDIM_CLEANER_INACTIVE_USERS_MAIL=
# Delay until a user is deleted after receiving an email (in days, default: 30)
# DECIDIM_CLEANER_DELETE_INACTIVE_USERS=
# Delay until an admin log is deleted (in days, default: 365)
# DECIDIM_CLEANER_DELETE_ADMIN_LOGS=
# Delay until user's versions are deleted after the user deletion (in days, default: 30)
# DECIDIM_CLEANER_DELETE_DELETED_USERS_DATA=
# Delay until deleted authorization's versions are deleted after the authorization creation (in days, default: 30)
# DECIDIM_CLEANER_DELETE_DELETED_AUTHORIZATIONS_DATA=
#= Decidim AI
# DECIDIM_AI_ENABLED="false" Default: false
# DECIDIM_AI_USER_SPAM_ANALYZER_ENABLED="true" Default: true
# DECIDIM_AI_GENERIC_SPAM_ANALYZER_ENABLED="true" Default: true
# DECIDIM_AI_ENDPOINT="https://<ENDPOINT_URL>"
# DECIDIM_AI_BASIC_AUTH="<USER>:<PASSWORD>" Required for the AI Request Handler
# DECIDIM_AI_REPORTING_USER_EMAIL="<EMAIL>"
# DECIDIM_AI_SECRET="<SECRET_KEY>" # Not required for the AI Request Handler