X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/0ba64ccc3c2b935b93fa9150c7cd6813a8bb06b8..bb5466cfebbedc5b2ed6e6644dc6576521d9f58b:/cookbooks/hot/recipes/default.rb diff --git a/cookbooks/hot/recipes/default.rb b/cookbooks/hot/recipes/default.rb index 55c2a2637..8f12dc193 100644 --- a/cookbooks/hot/recipes/default.rb +++ b/cookbooks/hot/recipes/default.rb @@ -1,8 +1,8 @@ # -# Cookbook Name:: hot +# Cookbook:: hot # Recipe:: default # -# Copyright 2018, OpenStreetMap Foundation +# Copyright:: 2018, OpenStreetMap Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -17,13 +17,9 @@ # limitations under the License. # -include_recipe "apache" +include_recipe "podman::apache" -ssl_certificate "hot.openstreetmap.org" do - domains ["hot.openstreetmap.org", "hot.osm.org"] - notifies :reload, "service[apache2]" -end - -apache_site "hot.openstreetmap.org" do - template "apache.erb" +podman_site "hot.openstreetmap.org" do + image "ghcr.io/openstreetmap/hot.openstreetmap.org-website:latest" + aliases ["hot.osm.org"] end