Signed-off-by: Grant Slater <github@firefishy.com>
mode "755"
end
+directory "/srv/community.openstreetmap.org/files" do
+ owner "community"
+ group "community"
+ mode "755"
+end
+
+template "/srv/community.openstreetmap.org/files/update-feeds.atom" do
+ source "update-feeds.atom.erb"
+ owner "community"
+ group "community"
+ mode "644"
+end
+
git "/srv/community.openstreetmap.org/docker" do
action :sync
repository "https://github.com/discourse/discourse_docker.git"
DISCOURSE_MAXMIND_LICENSE_KEY: '<%= @license_keys[node[:geoipupdate][:account]] %>'
<% end -%>
+ # Increase base SIDEKIQ memory limit to 1GB
+ UNICORN_SIDEKIQ_MAX_RSS: 1000
+
volumes:
- volume:
host: /srv/community.openstreetmap.org/shared/web-only
- volume:
host: /etc/ssl/private/community.openstreetmap.org.key
guest: /shared/ssl/ssl.key
+ - volume:
+ host: /srv/community.openstreetmap.org/files/update-feeds.atom
+ guest: /var/www/discourse/public/update-feeds.atom
## Plugins go here
## see https://meta.discourse.org/t/19157 for details