Skip to content
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

Adding SMTP Environmental Variables to Docker Compose #38

Merged
merged 6 commits into from
Oct 16, 2021

Conversation

victorhuangwq
Copy link
Contributor

Description:
Adds environmental variable in docker compose to be used to populate production.rb

Screenshots of successful usage:
image
image

@victorhuangwq victorhuangwq changed the title Add smtp setting env variables Adding SMTP Environmental Variables to Docker Compose Oct 7, 2021
@@ -55,27 +55,38 @@ services:
# - ./ssl/ssl-dhparams.pem:/etc/letsencrypt/ssl-dhparams.pem

# Comment the below out to disable SSL (not recommended)
- ./nginx/app.conf:/etc/nginx/sites-enabled/webapp.conf
# - ./nginx/app.conf:/etc/nginx/sites-enabled/webapp.conf
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you change these two lines back to default where SSL is enabled?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay!

- RESTFUL_HOST
- RESTFUL_PORT
- RESTFUL_KEY
# Edit the below to set SMTP Settings
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are now manipulated in .env so this line here could be misleading? Also, I think we need to update doc to reflect this .env.template change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will remove this line accordingly. I will update the docs to include instructions on how to add SMTP for docker installation as well

Copy link
Contributor

@xinyis991105 xinyis991105 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments.

@xinyis991105 xinyis991105 self-requested a review October 16, 2021 18:47
Copy link
Contributor

@xinyis991105 xinyis991105 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@victorhuangwq victorhuangwq merged commit 898a0ce into master Oct 16, 2021
@damianhxy damianhxy deleted the docker-smtp branch August 3, 2023 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants