# limitations under the License.
#
-include_recipe "apache"
+include_recipe "podman::apache"
-package "subversion" do
- action :remove
-end
-
-apache_module "dav" do
- action :disable
-end
-
-apache_module "dav_fs" do
- action :disable
-end
-
-apache_module "dav_svn" do
- package "libapache2-mod-svn"
- action [:disable, :delete]
-end
-
-apache_module "authz_svn" do
- package "libapache2-mod-svn"
- action [:disable, :delete]
-end
-
-ssl_certificate "svn.openstreetmap.org" do
- domains ["svn.openstreetmap.org", "svn.osm.org"]
- notifies :reload, "service[apache2]"
-end
-
-apache_site "svn.openstreetmap.org" do
- template "apache.erb"
- variables :aliases => ["svn.osm.org"]
-end
-
-file "/etc/cron.daily/svn-backup" do
- action :delete
+podman_site "svn.openstreetmap.org" do
+ image "ghcr.io/openstreetmap/svn-website:latest"
+ aliases ["svn.osm.org"]
end