X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d2fa510f82c2bc64fead53bba14deef72c771b81..1bc8da5f3a3bfd6c3f0ba374f12d489d13831460:/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