Sha256: e440a2697cb4a8c4b0eca970f4fa51b3f0c7fdc37f77511fcb45b056b64e29e9
Contents?: true
Size: 539 Bytes
Versions: 5
Compression:
Stored size: 539 Bytes
Contents
# frozen_string_literal: true module Orchestration module DockerCompose class NginxProxyService def initialize(config, environment) @environment = environment @config = config end def definition { 'image' => 'rubyorchestration/nginx-proxy', 'ports' => %w[${LISTEN_PORT}:80], 'volumes' => [ '/var/run/docker.sock:/tmp/docker.sock:ro', "#{@config.env.public_volume}:/var/www/public/:ro" ] } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems