mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-18 20:39:36 +02:00
47 lines
No EOL
1.6 KiB
Text
47 lines
No EOL
1.6 KiB
Text
# 🌐 Frontend
|
|
PUBLIC_SERVER_URL=http://server:8000 # Should be the service name of the backend with port 8000, even if you change the port in the backend service
|
|
ORIGIN=http://localhost:8015
|
|
BODY_SIZE_LIMIT=Infinity
|
|
FRONTEND_PORT=8015
|
|
|
|
# 🐘 PostgreSQL Database
|
|
PGHOST=db
|
|
POSTGRES_DB=database
|
|
POSTGRES_USER=adventure
|
|
POSTGRES_PASSWORD=changeme123
|
|
|
|
# 🔒 Django Backend
|
|
SECRET_KEY=changeme123
|
|
DJANGO_ADMIN_USERNAME=admin
|
|
DJANGO_ADMIN_PASSWORD=admin
|
|
DJANGO_ADMIN_EMAIL=admin@example.com
|
|
PUBLIC_URL=http://localhost:8016 # Match the outward port, used for the creation of image urls
|
|
CSRF_TRUSTED_ORIGINS=http://localhost:8016,http://localhost:8015
|
|
DEBUG=False
|
|
FRONTEND_URL=http://localhost:8015 # Used for email generation. This should be the url of the frontend
|
|
BACKEND_PORT=8016
|
|
|
|
# Optional: use Google Maps integration
|
|
# https://adventurelog.app/docs/configuration/google_maps_integration.html
|
|
# GOOGLE_MAPS_API_KEY=your_google_maps_api_key
|
|
|
|
# Optional: disable registration
|
|
# https://adventurelog.app/docs/configuration/disable_registration.html
|
|
# DISABLE_REGISTRATION=True
|
|
# DISABLE_REGISTRATION_MESSAGE=Registration is disabled for this instance of AdventureLog.
|
|
|
|
# Optional: Use email
|
|
# https://adventurelog.app/docs/configuration/email.html
|
|
# EMAIL_BACKEND=email
|
|
# EMAIL_HOST=smtp.gmail.com
|
|
# EMAIL_USE_TLS=True
|
|
# EMAIL_PORT=587
|
|
# EMAIL_USE_SSL=False
|
|
# EMAIL_HOST_USER=user
|
|
# EMAIL_HOST_PASSWORD=password
|
|
# DEFAULT_FROM_EMAIL=user@example.com
|
|
|
|
# Optional: Use Umami for analytics
|
|
# https://adventurelog.app/docs/configuration/analytics.html
|
|
# PUBLIC_UMAMI_SRC=https://cloud.umami.is/script.js # If you are using the hosted version of Umami
|
|
# PUBLIC_UMAMI_WEBSITE_ID= |