1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-18 20:39:36 +02:00

Update .env.example with additional optional configurations and change docker-compose to use development images for frontend and backend services

This commit is contained in:
Sean Morley 2025-05-26 17:07:52 -04:00
parent 40f54529a4
commit 4fb25f63fd
2 changed files with 26 additions and 4 deletions

View file

@ -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=

View file

@ -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