-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prepare docker-compose.yml for mail and calendar variables #10464
base: main
Are you sure you want to change the base?
Conversation
Adding the placeholders for the environment variables related to setting up the mail and calendar sync. This will make the Twenty setup easier for new users.
Welcome!
Hello there, congrats on your first PR! We're excited to have you contributing to this project. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
This PR enhances the Docker Compose configuration by adding comprehensive environment variables for mail and calendar integration support across both server and worker services.
- Added Gmail and Microsoft provider toggles (
MESSAGING_PROVIDER_GMAIL_ENABLED
,CALENDAR_PROVIDER_GOOGLE_ENABLED
, etc.) in/packages/twenty-docker/docker-compose.yml
- Added email verification configuration (
IS_EMAIL_VERIFICATION_REQUIRED
,EMAIL_VERIFICATION_TOKEN_EXPIRES_IN
) for user authentication - Added SMTP configuration variables (
EMAIL_SMTP_HOST
,EMAIL_SMTP_PORT
, etc.) for email service setup - Added Microsoft OAuth variables (
AUTH_MICROSOFT_CLIENT_ID
,AUTH_MICROSOFT_CALLBACK_URL
, etc.) for Microsoft integration
💡 (1/5) You can manually trigger the bot by mentioning @greptileai in a comment!
1 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile
MESSAGING_PROVIDER_GMAIL_ENABLED: ${MESSAGING_PROVIDER_GMAIL_ENABLED} | ||
CALENDAR_PROVIDER_GOOGLE_ENABLED: ${CALENDAR_PROVIDER_GOOGLE_ENABLED} | ||
MESSAGING_PROVIDER_MICROSOFT_ENABLED: ${MESSAGING_PROVIDER_MICROSOFT_ENABLED} | ||
CALENDAR_PROVIDER_MICROSOFT_ENABLED: ${CALENDAR_PROVIDER_MICROSOFT_ENABLED} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style: Consider grouping related environment variables (e.g., all Google-related vars together, all Microsoft-related vars together) for better maintainability
Hey thanks @FatoYo! One reason we didn't do it is we wanted those vars to be editable at the DB level but we still haven't done it. So it's great to merge it like this in the meantime! Thank you |
Adding the placeholders for the environment variables related to setting up the mail and calendar sync. This will make the Twenty setup easier for new users.