Can I update smtp config without rebuild?


(Kevin Yang) #1

I’m trying to solve the email problem, and i want to change that in config/discourse.conf, but it doest take effect, even after i restart docker app, or do ‘discourse -c ‘bundle exec rake assets:precompile’’ (it do take effect after i deploy new plugin directly in docker images)

I know the right way to do that is rebuild the app, but it takes so much down time. i can’t affort that for debugging.

So is there any way to make this change take effect immediately? @sam

Similar post 1 year ago: How do I change my SMTP settings (Discourse Docker Install)

(Sam Saffron) #3

If you do

./launcher destroy app
./launcher start app

All ENV will be refreshed. Including SMTP settings.

Allow update smtp settings in admin panel
(Kevin Yang) #4

@sam, It did save a lot of down time! :sunflower:

(Régis Hanol) #5