-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
96 lines (81 loc) · 3.74 KB
/
.env.example
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
# Django settings for cousins_matter project.
# Copy this file to .env and edit as needed.
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY='your key here'
# the name of the site
# SITE_NAME='Cousins Matter'
# The full domain of the site eg my.cousins-matter.com, no default value
# SITE_DOMAIN=
# Your specific logo in the upper left corner of the site. must be an image with 4/1 ratio and stored
# in the media/public folder of the site. For a docker image, the folder media/public must be mounted
# in the container
# SITE_LOGO=/media/public/my_logo.jpg
# You MUST set ALLOWED_HOSTS for production, provide a comma separated list of hosts here.
# Look at the logs, if they say an host is missing in ALLOWED_HOST, add it here
# ALLOWED_HOSTS='127.0.0.1, localhost'
# if you have a reverse proxy in front of your image, set CORS_ALLOWED_ORIGINS
# (provide a comma separated list of hosts here). Default is empty
# CORS_ALLOWED_ORIGINS=
# set your session cookie domain if you have a reverse proxy in front of your image with a subdomain
# eg. SESSION_COOKIE_DOMAIN=.cousins-matter.com will allow sessions to be shared between
# cousin-matter.com and www.cousins-matter.com
# SESSION_COOKIE_DOMAIN=
# Log level for django and internal libraries
#DJANGO_LOG_LEVEL=DEBUG
# Log level for cousins matter
#CM_LOG_LEVEL=DEBUG
# Internationalization. Note that all languages are lowercase and with a dash.
# For example, 'en-us'. See https://docs.djangoproject.com/en/5.0/topics/i18n/
# Also, for simple cases, use simple forms ie fr instead of fr-fr otherwise dynamic languages will not work.
LANGUAGE_CODE='en-us'
TIME_ZONE='Europe/Paris'
# Email properties
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=587
EMAIL_USE_TLS=True
EMAIL_USE_SSL=False
EMAIL_HOST_USER='<EMAIL>'
EMAIL_HOST_PASSWORD='<PASSWORD>'
DEFAULT_FROM_EMAIL="<SENDER_EMAIL>"
# Number of days for birthdays
BIRTHDAY_DAYS=50
# Should the birthdays be included in the home page for authenticated members
# INCLUDE_BIRTHDAYS_IN_HOMEPAGE=True
# SITE_COPYRIGHT='Your Site Copyright, eg Copyright © 2024 Cousins Matter'
# SITE_FOOTER='Your site footer, e.g. "the social network of the Simpsons family"'
# PDF_SIZE='A4' # or 'letter'
# Number of photos per gallery page (changeable in the screen)
# DEFAULT_GALLERY_PAGE_SIZE=25
# Max size of each photo, default is 5MB
# MAX_PHOTO_FILE_SIZE=5*1024*1024
# Maximum validity duration for invitation tokens, default is 2 days
# MAX_REGISTRATION_AGE=2*24*3600
# Maximum size of CSV import file, default is 2MB
# MAX_CSV_FILE_SIZE=2*1024*1024
# Maximum size of galleries zip bulk upload file, default is 20MB
# MAX_GALLERY_BULK_UPLOAD_SIZE=20*1024*1024
# the maximum size of a post or a chat message, default is 2.5MB
# MESSAGE_MAX_SIZE=2.5*1024*1024
# the maximum size of a message comment, default is 400
# MESSAGE_COMMENTS_MAX_SIZE=400
# Use Dark mode
# DARK_MODE=False
# the maximum size of a contact message, default is 1MB
# CONTACT_MAX_SIZE=1024*1024
# the maximum size of a flat page, default is 10MB
# PAGE_MAX_SIZE=10*1024*1024
# if you want to forbid members to create members, set to False and only admins will be able to do it
# ALLOW_MEMBERS_TO_CREATE_MEMBERS=True
# if you want to forbid members to invite members, set to False and only admins will be able to do it
# ALLOW_MEMBERS_TO_INVITE_MEMBERS=True
# Troves settings
# Maximum size of a trove file
# TROVE_FILE_MAX_SIZE=20*1024*1024 # 20MB
# Maximum size of a trove picture
# TROVE_PICTURE_FILE_MAX_SIZE=5*1024*1024 # 5MB
# Maximum size of a trove thumbnail in pixels
# TROVE_THUMBNAIL_SIZE=GALLERIES_THUMBNAIL_SIZE
# Default number of troves per page
# DEFAULT_TROVE_PAGE_SIZE=10