]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/foundation/recipes/welcome.rb
planet: do not keep previous planet around.
[chef.git] / cookbooks / foundation / recipes / welcome.rb
index fd8416bf4d0e2f3af1a0ef137c61ac603381c8bd..30f58f9c22136f3a6feb4e86643eec79982d7b52 100644 (file)
 # limitations under the License.
 #
 
-include_recipe "apache"
-include_recipe "podman"
+include_recipe "podman::apache"
 
-docker_external_port = 8090
-
-podman_service "welcome-mat" do
-  description "Container service for welcome.openstreetmap.org"
+podman_site "welcome.openstreetmap.org" do
   image "ghcr.io/osmfoundation/welcome-mat:latest"
-  ports docker_external_port => "8080"
-end
-
-ssl_certificate "welcome.openstreetmap.org" do
-  domains ["welcome.openstreetmap.org", "welcome.osm.org"]
-  notifies :reload, "service[apache2]"
-end
-
-apache_module "proxy_http"
-
-apache_site "welcome.openstreetmap.org" do
-  template "apache.welcome.erb"
-  variables :docker_external_port => docker_external_port, :aliases => ["welcome.osm.org"]
+  aliases ["welcome.osm.org"]
 end