X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d67a952e76082641d21e5d42203e37ffd9276858..2974ee5a289e144f770c59e8e6537e419d60aeb0:/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