func (s *Service) Config() *config.ServiceConfig {
	return s.serviceConfig
}
Config returns the configuration of the service (config.ServiceConfig).
package docker
import (
	"fmt"
	"strconv"
	"strings"
	"github.com/docker/engine-api/types/network"
	"golang.org/x/net/context"
	"github.com/Sirupsen/logrus"
	"github.com/docker/engine-api/client"
	"github.com/docker/go-connections/nat"
	"github.com/docker/libcompose/config"
	"github.com/docker/libcompose/docker/builder"
	"github.com/docker/libcompose/labels"
	"github.com/docker/libcompose/project"
	"github.com/docker/libcompose/project/options"
	"github.com/docker/libcompose/utils"
)
type Service struct {
	name          string
	serviceConfig *config.ServiceConfig
	context       *Context
}
func NewService(name string, serviceConfig *config.ServiceConfig, context *Context) *Service {
	return &Service{
		name:          name,
		serviceConfig: serviceConfig,
		context:       context,
	}
}
func (s *Service) Name() string {
	return s.name
}