mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2026-07-30 15:28:30 -04:00
- Replaced the All-in-One (AIO) deployment setup with a Standard Deployment configuration, introducing .env.advanced.example for advanced settings. - Updated .dockerignore to reflect the new environment file structure. - Removed .env.aio.example and associated references from documentation and workflows. - Enhanced installation instructions to clarify the new Standard Deployment process. - Updated GitHub Actions workflows to align with the new deployment structure, including smoke tests and image builds. - Improved documentation for environment variable references and deployment options.
78 lines
4.0 KiB
Plaintext
78 lines
4.0 KiB
Plaintext
# AdventureLog — Standard Deployment
|
|
# Copy to .env: cp .env.example .env
|
|
# Advanced Deployment: use .env.advanced.example instead.
|
|
# Docs: https://adventurelog.app/docs/configuration/environment_variables.html
|
|
|
|
# ── Required ────────────────────────────────────────────
|
|
POSTGRES_PASSWORD=changeme123
|
|
|
|
# ── Site ────────────────────────────────────────────────
|
|
# Public URL and host port. SECRET_KEY, CSRF, and backend URLs are derived at startup.
|
|
SITE_URL=http://localhost:8015
|
|
HOST_PORT=8015
|
|
|
|
# ── Admin (first boot) ──────────────────────────────────
|
|
DJANGO_ADMIN_USERNAME=admin
|
|
DJANGO_ADMIN_PASSWORD=admin
|
|
DJANGO_ADMIN_EMAIL=admin@example.com
|
|
|
|
|
|
# ═══════════════════════════════════════════════════════
|
|
# Optional — uncomment and edit as needed
|
|
# ═══════════════════════════════════════════════════════
|
|
|
|
# ── Registration & auth ─────────────────────────────────
|
|
# Docs: https://adventurelog.app/docs/configuration/disable_registration.html
|
|
DISABLE_REGISTRATION=False
|
|
# DISABLE_REGISTRATION_MESSAGE=Registration is disabled for this instance of AdventureLog.
|
|
# SOCIALACCOUNT_ALLOW_SIGNUP=False
|
|
# FORCE_SOCIALACCOUNT_LOGIN=False
|
|
# ACCOUNT_EMAIL_VERIFICATION=none # none | optional | mandatory
|
|
|
|
# ── Performance ─────────────────────────────────────────
|
|
# GUNICORN_WORKERS=2 # Default 2. Use 1 on small hosts; (2 x CPU) + 1 on larger servers.
|
|
# ENABLE_RATE_LIMITS=True # Recommended for production.
|
|
# DEBUG=True # Not for production.
|
|
|
|
# ── Media storage (S3) ──────────────────────────────────
|
|
# Docs: https://adventurelog.app/docs/configuration/s3_storage.html
|
|
# MEDIA_STORAGE=s3 # local (default) or s3
|
|
# MEDIA_STORAGE_LIMIT_MB=0 # 0 = unlimited
|
|
# MEDIA_STORAGE_LIMIT_BYTES=0 # Overrides MB when set > 0
|
|
# AWS_ACCESS_KEY_ID=
|
|
# AWS_SECRET_ACCESS_KEY=
|
|
# AWS_STORAGE_BUCKET_NAME=
|
|
# AWS_S3_ENDPOINT_URL= # R2: https://<account_id>.r2.cloudflarestorage.com
|
|
# AWS_S3_REGION_NAME=auto
|
|
# AWS_S3_ADDRESSING_STYLE=path
|
|
# AWS_S3_SIGNATURE_VERSION=s3v4
|
|
# AWS_S3_CUSTOM_DOMAIN= # Optional CDN/custom domain
|
|
# AWS_QUERYSTRING_AUTH=true
|
|
# AWS_QUERYSTRING_EXPIRE=3600
|
|
# AWS_S3_FILE_OVERWRITE=true
|
|
|
|
# ── Google Maps ─────────────────────────────────────────
|
|
# Docs: https://adventurelog.app/docs/configuration/google_maps_integration.html
|
|
# GOOGLE_MAPS_API_KEY=
|
|
|
|
# ── Email (SMTP) ────────────────────────────────────────
|
|
# Docs: 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=
|
|
# EMAIL_HOST_PASSWORD=
|
|
# DEFAULT_FROM_EMAIL=
|
|
|
|
# ── Strava ──────────────────────────────────────────────
|
|
# Docs: https://adventurelog.app/docs/configuration/strava_integration.html
|
|
# STRAVA_CLIENT_ID=
|
|
# STRAVA_CLIENT_SECRET=
|
|
|
|
# ── Umami analytics ─────────────────────────────────────
|
|
# Docs: https://adventurelog.app/docs/configuration/analytics.html
|
|
# PUBLIC_UMAMI_SRC=https://cloud.umami.is/script.js
|
|
# PUBLIC_UMAMI_WEBSITE_ID=
|