From 4fb25f63fd22048d3a2367e50e53e5e83fc2c58a Mon Sep 17 00:00:00 2001 From: Sean Morley Date: Mon, 26 May 2025 17:07:52 -0400 Subject: [PATCH] Update .env.example with additional optional configurations and change docker-compose to use development images for frontend and backend services --- .env.example | 26 ++++++++++++++++++++++++-- docker-compose.yml | 4 ++-- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/.env.example b/.env.example index 5b6886a..fcd36b5 100644 --- a/.env.example +++ b/.env.example @@ -19,5 +19,27 @@ 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 -# 🗺️ Optional -# GOOGLE_MAPS_API_KEY=your_google_maps_api_key # https://adventurelog.app/docs/configuration/google_maps_integration.html +# 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= \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 4a33ed2..c0c612c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ services: web: - image: ghcr.io/seanmorley15/adventurelog-frontend:latest + image: ghcr.io/seanmorley15/adventurelog-frontend:development container_name: adventurelog-frontend restart: unless-stopped env_file: .env @@ -18,7 +18,7 @@ services: - postgres_data:/var/lib/postgresql/data/ server: - image: ghcr.io/seanmorley15/adventurelog-backend:latest + image: ghcr.io/seanmorley15/adventurelog-backend:development container_name: adventurelog-backend restart: unless-stopped env_file: .env