X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/3c0e4bb2d443fb393e85976937be0a4225e13ad3..802c8345a5d7084d60e6ba1cc3ab1e6d3ca9e8ea:/cookbooks/podman/resources/site.rb diff --git a/cookbooks/podman/resources/site.rb b/cookbooks/podman/resources/site.rb index e0b0f8ce2..7cab5a5d2 100644 --- a/cookbooks/podman/resources/site.rb +++ b/cookbooks/podman/resources/site.rb @@ -27,12 +27,14 @@ property :site, String, :name_property => true property :image, String, :required => true property :port, Integer, :default => 8080 property :aliases, :kind_of => Array, :default => [] +property :environment, Hash, :default => {} action :create do podman_service new_resource.site do description "Container service for #{new_resource.site}" image new_resource.image ports external_port => new_resource.port + environment new_resource.environment end ssl_certificate new_resource.site do