]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/irc/recipes/default.rb
Make sure the planet user is created by recipes which use it
[chef.git] / cookbooks / irc / recipes / default.rb
index ef6332dceeaea8c2e2b56201b3a8c42318dbc3c8..7ebcfc7bad6e8ce60ea9416d943098a38648db09 100644 (file)
 # 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"
+podman_site "irc.openstreetmap.org" do
   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"]
+  aliases ["irc.osm.org"]
 end