]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/irc/recipes/default.rb
Drop segment length limit from tile server replication
[chef.git] / cookbooks / irc / recipes / default.rb
index 238c17c8a5c0de1715162aed836ece60bed5c5ba..138912e8a1e5cbe75b7d79edd913655a7b38a915 100644 (file)
 # limitations under the License.
 #
 
-include_recipe "apache"
+include_recipe "podman::apache"
 
-ssl_certificate "irc.openstreetmap.org" do
-  domains ["irc.openstreetmap.org", "irc.osm.org"]
-  notifies :reload, "service[apache2]"
-end
-
-directory "/srv/irc.openstreetmap.org" do
-  owner "root"
-  group "root"
-  mode 0755
-end
-
-remote_directory "/srv/irc.openstreetmap.org/html" do
-  source "html"
-  owner "root"
-  group "root"
-  mode 0o755
-  files_owner "root"
-  files_group "root"
-  files_mode 0o644
-end
-
-apache_site "irc.openstreetmap.org" do
-  template "apache.erb"
-  directory "/srv/irc.openstreetmap.org/html"
-  variables :aliases => ["irc.osm.org"]
+podman_site "irc.openstreetmap.org" do
+  image "ghcr.io/openstreetmap/irc-website:latest"
+  aliases ["irc.osm.org"]
 end