📝 add example-env file
This commit is contained in:
parent
c0634ac4a4
commit
513baaca45
|
|
@ -0,0 +1,27 @@
|
|||
# Example environment configuration to be copied to .env and adjusted
|
||||
|
||||
# Django configuration
|
||||
DJANGO_SECRET_KEY=my-secret-key # use a strong secret key
|
||||
DJANGO_ALLOWED_HOSTS=localhost,172.0.0.1,roombooking.example.org # adjust this to your domain
|
||||
# DJANGO_DATA_DIR=/data # uncomment and adjust this if you want to store data somewhere else than the default ./data docker volume
|
||||
# DJANGO_DEBUG=1 # uncomment this line to enable debug mode
|
||||
|
||||
# Email configuration
|
||||
SMTP_EMAIL=admin@roombooking@example.org # adjust this to your email
|
||||
# SMTP_USER_NAME=roombookingsystem # uncomment and adjust this if your SMTP server requires authentication: default is to use SMTP_EMAIL as username
|
||||
SMTP_PASSWORD=your-smtp-password # adjust this to your SMTP password
|
||||
SMTP_SERVER=mail.example.org # adjust this to your SMTP server
|
||||
SMTP_PORT=465 # adjust this to your SMTP port
|
||||
# SMTP_STARTTLS=1 # uncomment this line if your SMTP server requires STARTTLS
|
||||
SMTP_SENDER_NAME="Room Booking System" # adjust this if you want
|
||||
# SMTP_BCC=admin@example.org # adjust this to your email if you want to receive a copy of all emails sent
|
||||
|
||||
# Application configuration
|
||||
MAX_SEARCH_HORIZON=14 # batch size for calendar queries, in days
|
||||
|
||||
# Logging configuration
|
||||
FILE_LOG_LEVEL=INFO # DEBUG, INFO, WARNING, ERROR, CRITICAL
|
||||
STDOUT_LOG_LEVEL=DEBUG # DEBUG, INFO, WARNING, ERROR, CRITICAL
|
||||
LOGROTATE_BACKUP_COUNT=10 # number of rotated log files to keep
|
||||
LOGROTATE_MAX_BYTES=10485760 # max size in bytes of log file before rotating, default 10MB
|
||||
# LOG_DIR=/data/room-booking.logs # uncomment and adjust this if you want to store logs somewhere else than the default ./data docker volume
|
||||
Loading…
Reference in New Issue