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

Delta Between Two Patch Sets: modules/discourse/templates/app.yml.erb

Issue 29347356: Issue 4234 - Migrate Discourse to a Docker-based setup (Closed)
Left Patch Set: Created July 8, 2016, 3:35 p.m.
Right Patch Set: Clone from GitHub, updated to Discourse 1.6.4 Created Oct. 12, 2016, 1:17 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « modules/discourse/manifests/sitesetting.pp ('k') | modules/discourse/templates/discourse.conf.erb » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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 10 matching lines...) Expand all
21 db_default_text_search_config: "pg_catalog.english" 21 db_default_text_search_config: "pg_catalog.english"
22 22
23 ## Set db_shared_buffers to a max of 25% of the total memory. 23 ## Set db_shared_buffers to a max of 25% of the total memory.
24 ## will be set automatically by bootstrap based on detected RAM, or you can ov erride 24 ## will be set automatically by bootstrap based on detected RAM, or you can ov erride
25 db_shared_buffers: "256MB" 25 db_shared_buffers: "256MB"
26 26
27 ## can improve sorting performance, but adds memory usage per-connection 27 ## can improve sorting performance, but adds memory usage per-connection
28 #db_work_mem: "40MB" 28 #db_work_mem: "40MB"
29 29
30 ## Which Git revision should this container use? (default: tests-passed) 30 ## Which Git revision should this container use? (default: tests-passed)
31 version: v1.5.3 31 version: v1.6.4
32 32
33 env: 33 env:
34 LANG: en_US.UTF-8 34 LANG: en_US.UTF-8
35 RUBY_GC_MALLOC_LIMIT: 90000000
35 36
36 ## How many concurrent web requests are supported? Depends on memory and CPU c ores. 37 ## How many concurrent web requests are supported? Depends on memory and CPU c ores.
37 ## will be set automatically by bootstrap based on detected CPUs, or you can o verride 38 ## will be set automatically by bootstrap based on detected CPUs, or you can o verride
38 UNICORN_WORKERS: 2 39 UNICORN_WORKERS: 2
39 40
40 ## The domain name this Discourse instance will respond to 41 ## The domain name this Discourse instance will respond to
41 DISCOURSE_HOSTNAME: '<%= @domain %>' 42 DISCOURSE_HOSTNAME: '<%= @domain %>'
42 43
43 ## 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
44 ## hostname (-h option) as specified above (default "$hostname-$config") 45 ## hostname (-h option) as specified above (default "$hostname-$config")
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 - exec: 79 - exec:
79 cd: $home/plugins 80 cd: $home/plugins
80 cmd: 81 cmd:
81 #- git clone https://github.com/discourse/docker_manager.git 82 #- git clone https://github.com/discourse/docker_manager.git
82 83
83 ## Any custom commands to run after building 84 ## Any custom commands to run after building
84 run: 85 run:
85 - exec: echo "Beginning of custom commands" 86 - exec: echo "Beginning of custom commands"
86 - 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 %>"
87 - exec: echo "End of custom commands" 88 - exec: echo "End of custom commands"
LEFTRIGHT

Powered by Google App Engine
This is Rietveld