🔧(config) add CalDAV environment variables
Add configuration for CalDAV server URL, credentials and IMIP callback settings for calendar invitations. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -7,7 +7,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "8912:5432"
|
- "8912:5432"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
|
test: [ "CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB" ]
|
||||||
interval: 1s
|
interval: 1s
|
||||||
timeout: 2s
|
timeout: 2s
|
||||||
retries: 300
|
retries: 300
|
||||||
@@ -47,7 +47,7 @@ services:
|
|||||||
- /app/.venv
|
- /app/.venv
|
||||||
networks:
|
networks:
|
||||||
- lasuite
|
- lasuite
|
||||||
- default
|
- default
|
||||||
depends_on:
|
depends_on:
|
||||||
postgresql:
|
postgresql:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@@ -67,7 +67,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
- lasuite
|
- lasuite
|
||||||
command: ["celery", "-A", "calendars.celery_app", "worker", "-l", "DEBUG"]
|
command: [ "celery", "-A", "calendars.celery_app", "worker", "-l", "DEBUG" ]
|
||||||
environment:
|
environment:
|
||||||
- DJANGO_CONFIGURATION=Development
|
- DJANGO_CONFIGURATION=Development
|
||||||
env_file:
|
env_file:
|
||||||
@@ -108,8 +108,6 @@ services:
|
|||||||
- ./src/frontend/:/home/frontend/
|
- ./src/frontend/:/home/frontend/
|
||||||
- /home/frontend/node_modules
|
- /home/frontend/node_modules
|
||||||
- /home/frontend/apps/calendars/node_modules
|
- /home/frontend/apps/calendars/node_modules
|
||||||
- /home/frontend/packages/open-calendar/dist
|
|
||||||
- /home/frontend/packages/open-calendar/node_modules
|
|
||||||
ports:
|
ports:
|
||||||
- "8920:3000"
|
- "8920:3000"
|
||||||
|
|
||||||
|
|||||||
@@ -50,6 +50,8 @@ OIDC_RS_ALLOWED_AUDIENCES=""
|
|||||||
CALDAV_URL=http://caldav:80
|
CALDAV_URL=http://caldav:80
|
||||||
CALDAV_OUTBOUND_API_KEY=changeme-outbound-in-production
|
CALDAV_OUTBOUND_API_KEY=changeme-outbound-in-production
|
||||||
CALDAV_INBOUND_API_KEY=changeme-inbound-in-production
|
CALDAV_INBOUND_API_KEY=changeme-inbound-in-production
|
||||||
|
# Internal URL for CalDAV scheduling callbacks (accessible from CalDAV container)
|
||||||
|
CALDAV_CALLBACK_BASE_URL=http://backend-dev:8000
|
||||||
|
|
||||||
# Frontend
|
# Frontend
|
||||||
FRONTEND_THEME=default
|
FRONTEND_THEME=default
|
||||||
|
|||||||
@@ -5,4 +5,7 @@ PGUSER=pgroot
|
|||||||
PGPASSWORD=pass
|
PGPASSWORD=pass
|
||||||
CALENDARS_BASE_URI=/api/v1.0/caldav/
|
CALENDARS_BASE_URI=/api/v1.0/caldav/
|
||||||
CALDAV_INBOUND_API_KEY=changeme-inbound-in-production
|
CALDAV_INBOUND_API_KEY=changeme-inbound-in-production
|
||||||
CALDAV_OUTBOUND_API_KEY=changeme-outbound-in-production
|
CALDAV_OUTBOUND_API_KEY=changeme-outbound-in-production
|
||||||
|
# Default callback URL for sending scheduling notifications (emails)
|
||||||
|
# Used when clients (like Apple Calendar) don't provide X-CalDAV-Callback-URL header
|
||||||
|
CALDAV_CALLBACK_URL=http://backend-dev:8000/api/v1.0/caldav-scheduling-callback
|
||||||
Reference in New Issue
Block a user