Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: modules/discourse_docker/templates/app.yml.erb

Issue 29427603: Noissue - Configure discourse containers to use smtp on the host system Base URL: https://hg1/infrastructure
Patch Set: Created May 2, 2017, 9:23 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 ## this is the all-in-one, standalone Discourse Docker container template 1 ## this is the all-in-one, standalone Discourse Docker container template
2 ## 2 ##
3 ## After making changes to this file, you MUST rebuild 3 ## After making changes to this file, you MUST rebuild
4 ## /var/discourse/launcher rebuild app 4 ## /var/discourse/launcher rebuild app
5 ## 5 ##
6 ## BE *VERY* CAREFUL WHEN EDITING! 6 ## BE *VERY* CAREFUL WHEN EDITING!
7 ## YAML FILES ARE SUPER SUPER SENSITIVE TO MISTAKES IN WHITESPACE OR ALIGNMENT! 7 ## YAML FILES ARE SUPER SUPER SENSITIVE TO MISTAKES IN WHITESPACE OR ALIGNMENT!
8 ## visit http://www.yamllint.com/ to validate this file as needed 8 ## visit http://www.yamllint.com/ to validate this file as needed
9 9
10 templates: 10 templates:
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 ## Uncomment if you want the container to be started with the same 44 ## Uncomment if you want the container to be started with the same
45 ## hostname (-h option) as specified above (default "$hostname-$config") 45 ## hostname (-h option) as specified above (default "$hostname-$config")
46 #DOCKER_USE_HOSTNAME: true 46 #DOCKER_USE_HOSTNAME: true
47 47
48 ## TODO: List of comma delimited emails that will be made admin and developer 48 ## TODO: List of comma delimited emails that will be made admin and developer
49 ## on initial signup example 'user1@example.com,user2@example.com' 49 ## on initial signup example 'user1@example.com,user2@example.com'
50 DISCOURSE_DEVELOPER_EMAILS: '<% @admins.each do |admin| %><%= admin %>,<% end %>' 50 DISCOURSE_DEVELOPER_EMAILS: '<% @admins.each do |admin| %><%= admin %>,<% end %>'
51 51
52 ## TODO: The SMTP mail server used to validate new accounts and send notificat ions 52 ## TODO: The SMTP mail server used to validate new accounts and send notificat ions
53 DISCOURSE_SMTP_ADDRESS: localhost # required 53 DISCOURSE_SMTP_ADDRESS: <%= @smtp_host %> # required
54 DISCOURSE_SMTP_PORT: 25 # (optional, default 587) 54 DISCOURSE_SMTP_PORT: 25 # (optional, default 587)
55 #DISCOURSE_SMTP_USER_NAME: user@example.com # required 55 #DISCOURSE_SMTP_USER_NAME: user@example.com # required
56 #DISCOURSE_SMTP_PASSWORD: pa$$word # required, WARNING the char '#' in pw can cause problems! 56 #DISCOURSE_SMTP_PASSWORD: pa$$word # required, WARNING the char '#' in pw can cause problems!
57 DISCOURSE_SMTP_ENABLE_START_TLS: false # (optional, default true) 57 DISCOURSE_SMTP_ENABLE_START_TLS: false # (optional, default true)
58 58
59 ## If you added the Lets Encrypt template, uncomment below to get a free SSL c ertificate 59 ## If you added the Lets Encrypt template, uncomment below to get a free SSL c ertificate
60 #LETSENCRYPT_ACCOUNT_EMAIL: me@example.com 60 #LETSENCRYPT_ACCOUNT_EMAIL: me@example.com
61 61
62 ## The CDN address for this Discourse instance (configured to pull) 62 ## The CDN address for this Discourse instance (configured to pull)
63 ## see https://meta.discourse.org/t/14857 for details 63 ## see https://meta.discourse.org/t/14857 for details
(...skipping 16 matching lines...) Expand all
80 # cd: $home/plugins 80 # cd: $home/plugins
81 # cmd: 81 # cmd:
82 # #- git clone https://github.com/discourse/docker_manager.git 82 # #- git clone https://github.com/discourse/docker_manager.git
83 83
84 ## Any custom commands to run after building 84 ## Any custom commands to run after building
85 run: 85 run:
86 - exec: echo "Beginning of custom commands" 86 - exec: echo "Beginning of custom commands"
87 - exec: rails r "<% @site_settings.sort_by { |k,v| k }.each do |name, value| % >SiteSetting.<%=name%>='<%=value%>';<% end %>" 87 - exec: rails r "<% @site_settings.sort_by { |k,v| k }.each do |name, value| % >SiteSetting.<%=name%>='<%=value%>';<% end %>"
88 - exec: echo "End of custom commands" 88 - exec: echo "End of custom commands"
89 89
OLDNEW

Powered by Google App Engine
This is Rietveld