X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a92d5e4c564dbef801efbe791c2e6200f8c5967e..09871985f35b0d07068c1e77da41ba5d7bf4faab:/cookbooks/irc/recipes/default.rb diff --git a/cookbooks/irc/recipes/default.rb b/cookbooks/irc/recipes/default.rb index ef6332dce..138912e8a 100644 --- a/cookbooks/irc/recipes/default.rb +++ b/cookbooks/irc/recipes/default.rb @@ -17,25 +17,9 @@ # limitations under the License. # -include_recipe "apache" -include_recipe "podman" +include_recipe "podman::apache" -docker_external_port = 8092 - -podman_service "irc.openstreetmap.org" do - description "Container service for irc.openstreetmap.org" - image "ghcr.io/openstreetmap/irc:latest" - ports docker_external_port => "8080" -end - -ssl_certificate "irc.openstreetmap.org" do - domains ["irc.openstreetmap.org", "irc.osm.org"] - notifies :reload, "service[apache2]" -end - -apache_module "proxy_http" - -apache_site "irc.openstreetmap.org" do - template "apache.erb" - variables :docker_external_port => docker_external_port, :aliases => ["irc.osm.org"] +podman_site "irc.openstreetmap.org" do + image "ghcr.io/openstreetmap/irc-website:latest" + aliases ["irc.osm.org"] end