mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-22 06:19:38 +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:
parent
40f54529a4
commit
4fb25f63fd
2 changed files with 26 additions and 4 deletions
26
.env.example
26
.env.example
|
@ -19,5 +19,27 @@ CSRF_TRUSTED_ORIGINS=http://localhost:8016,http://localhost:8015
|
||||||
DEBUG=False
|
DEBUG=False
|
||||||
FRONTEND_URL=http://localhost:8015 # Used for email generation. This should be the url of the frontend
|
FRONTEND_URL=http://localhost:8015 # Used for email generation. This should be the url of the frontend
|
||||||
|
|
||||||
# 🗺️ Optional
|
# Optional: use Google Maps integration
|
||||||
# GOOGLE_MAPS_API_KEY=your_google_maps_api_key # https://adventurelog.app/docs/configuration/google_maps_integration.html
|
# 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=
|
|
@ -1,6 +1,6 @@
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
image: ghcr.io/seanmorley15/adventurelog-frontend:latest
|
image: ghcr.io/seanmorley15/adventurelog-frontend:development
|
||||||
container_name: adventurelog-frontend
|
container_name: adventurelog-frontend
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file: .env
|
env_file: .env
|
||||||
|
@ -18,7 +18,7 @@ services:
|
||||||
- postgres_data:/var/lib/postgresql/data/
|
- postgres_data:/var/lib/postgresql/data/
|
||||||
|
|
||||||
server:
|
server:
|
||||||
image: ghcr.io/seanmorley15/adventurelog-backend:latest
|
image: ghcr.io/seanmorley15/adventurelog-backend:development
|
||||||
container_name: adventurelog-backend
|
container_name: adventurelog-backend
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file: .env
|
env_file: .env
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue