mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2026-07-30 23:38:02 -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.
71 lines
3.2 KiB
Plaintext
71 lines
3.2 KiB
Plaintext
# AdventureLog — Backend (local development)
|
|
# Copy to .env: cp .env.example .env
|
|
# Used when running `python manage.py` from backend/server/
|
|
|
|
# ── Database ────────────────────────────────────────────
|
|
PGHOST=
|
|
PGDATABASE=
|
|
PGUSER=
|
|
PGPASSWORD=
|
|
|
|
# ── Django ──────────────────────────────────────────────
|
|
SECRET_KEY=pleasechangethisbecauseifyoudontitwillbeverybadandyouwillgethackedinlessthanaminuteguaranteed
|
|
PUBLIC_URL=http://127.0.0.1:8000
|
|
FRONTEND_URL=http://localhost:3000
|
|
DEBUG=True
|
|
ENABLE_RATE_LIMITS=False
|
|
|
|
# ── Email ───────────────────────────────────────────────
|
|
EMAIL_BACKEND=console
|
|
|
|
|
|
# ═══════════════════════════════════════════════════════
|
|
# Optional — uncomment and edit as needed
|
|
# ═══════════════════════════════════════════════════════
|
|
|
|
# ── Registration & auth ─────────────────────────────────
|
|
# DISABLE_REGISTRATION=True
|
|
# 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
|
|
|
|
# ── Media storage (S3) ──────────────────────────────────
|
|
# Docs: https://adventurelog.app/docs/configuration/s3_storage.html
|
|
# MEDIA_STORAGE=s3
|
|
# AWS_ACCESS_KEY_ID=
|
|
# AWS_SECRET_ACCESS_KEY=
|
|
# AWS_STORAGE_BUCKET_NAME=
|
|
# AWS_S3_ENDPOINT_URL=
|
|
# AWS_S3_REGION_NAME=auto
|
|
|
|
# ── 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=
|
|
|
|
|
|
# ── Demo database (Docker) ──────────────────────────────
|
|
# docker run --name adventurelog-development \
|
|
# -e POSTGRES_USER=admin -e POSTGRES_PASSWORD=admin -e POSTGRES_DB=adventurelog \
|
|
# -p 5432:5432 -d postgis/postgis:15-3.3
|
|
# PGHOST=localhost
|
|
# PGDATABASE=adventurelog
|
|
# PGUSER=admin
|
|
# PGPASSWORD=admin
|