Sha256: 0ba94e902940c232f20881ef8cdf838c8338b1893d70f34ac41a5345bc170078

Contents?: true

Size: 383 Bytes

Versions: 6

Compression:

Stored size: 383 Bytes

Contents

# frozen_string_literal: true

module Orchestration
  module DockerCompose
    class NginxProxyService
      def initialize(config)
        @config = config
      end

      def definition
        {
          'image' => 'jwilder/nginx-proxy',
          'ports' => %w[3000:80],
          'volumes' => ['/var/run/docker.sock:/tmp/docker.sock:ro']
        }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
orchestration-0.2.8 lib/orchestration/docker_compose/nginx_proxy_service.rb
orchestration-0.2.7 lib/orchestration/docker_compose/nginx_proxy_service.rb
orchestration-0.2.6 lib/orchestration/docker_compose/nginx_proxy_service.rb
orchestration-0.2.5 lib/orchestration/docker_compose/nginx_proxy_service.rb
orchestration-0.2.4 lib/orchestration/docker_compose/nginx_proxy_service.rb
orchestration-0.2.3 lib/orchestration/docker_compose/nginx_proxy_service.rb