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

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

Issue 29370691: Issue 4234 - New discourse module based on docker (Closed)
Left Patch Set: Created Jan. 3, 2017, 4:42 p.m.
Right Patch Set: add empty line at eof Created Jan. 6, 2017, 3:40 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_docker/manifests/init.pp ('k') | no next file » | 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 volumes: 67 volumes:
68 - volume: 68 - volume:
69 host: /var/discourse/shared/standalone 69 host: /var/discourse/shared/standalone
70 guest: /shared 70 guest: /shared
71 - volume: 71 - volume:
72 host: /var/discourse/shared/standalone/log/var-log 72 host: /var/discourse/shared/standalone/log/var-log
73 guest: /var/log 73 guest: /var/log
74 74
75 ## Plugins go here 75 ## Plugins go here
76 ## see https://meta.discourse.org/t/19157 for details 76 ## see https://meta.discourse.org/t/19157 for details
77 hooks: 77 #hooks:
78 after_code: 78 # after_code:
79 - exec: 79 # - exec:
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
f.lopez 2017/01/03 20:22:45 are these lines necessary if the command is commen
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
LEFTRIGHT

Powered by Google App Engine
This is Rietveld