Add Microsoft™ Azure™ Office™ 365® Calendar© support

This commit is contained in:
3wc 2023-09-05 16:47:25 +02:00
parent 365bec08ee
commit c042b91c71
3 changed files with 23 additions and 3 deletions

View File

@ -1,5 +1,6 @@
---
# Google calendar, see https://docs.calendso.com/docs/integrations/google
# Google calendar, see
# https://github.com/calcom/cal.com#obtaining-the-google-api-credentials
version: "3.8"
services:

17
compose.microsoft.yml Normal file
View File

@ -0,0 +1,17 @@
---
# Microsoft calendar, see
# https://github.com/calcom/cal.com#obtaining-microsoft-graph-client-id-and-secret
version: "3.8"
services:
app:
environment:
- MS_GRAPH_CLIENT_SECRET_FILE=/run/secrets/ms_graph_client_secret
- MS_GRAPH_CLIENT_ID
secrets:
- ms_graph_client_secret
secrets:
ms_graph_client_secret:
external: true
name: ${STACK_NAME}_ms_graph_client_secret_${SECRET_MS_GRAPH_CLIENT_SECRET_VERSION}

View File

@ -27,12 +27,14 @@ file_env() {
load_vars() {
file_env "POSTGRES_PASSWORD"
file_env "GOOGLE_API_CREDENTIALS"
file_env "ZOOM_CLIENT_SECRET"
file_env "EMAIL_SERVER_PASSWORD"
file_env "NEXTAUTH_SECRET"
file_env "CALENDSO_ENCRYPTION_KEY"
file_env "GOOGLE_API_CREDENTIALS"
file_env "MS_GRAPH_CLIENT_SECRET"
file_env "ZOOM_CLIENT_SECRET"
export "DATABASE_URL=postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOST:5432/$POSTGRES_DB"
}