mirror of https://github.com/docker/cli.git
Merge pull request #1235 from vdemeester/compose-add-missing-field
Add missing fields in compose/types
This commit is contained in:
commit
b3b2ace735
|
@ -135,13 +135,16 @@ type ServiceConfig struct {
|
||||||
Restart string `yaml:",omitempty"`
|
Restart string `yaml:",omitempty"`
|
||||||
Secrets []ServiceSecretConfig `yaml:",omitempty"`
|
Secrets []ServiceSecretConfig `yaml:",omitempty"`
|
||||||
SecurityOpt []string `mapstructure:"security_opt" yaml:"security_opt,omitempty"`
|
SecurityOpt []string `mapstructure:"security_opt" yaml:"security_opt,omitempty"`
|
||||||
|
ShmSize string `mapstructure:"shm_size" yaml:"shm_size,omitempty"`
|
||||||
StdinOpen bool `mapstructure:"stdin_open" yaml:"stdin_open,omitempty"`
|
StdinOpen bool `mapstructure:"stdin_open" yaml:"stdin_open,omitempty"`
|
||||||
StopGracePeriod *time.Duration `mapstructure:"stop_grace_period" yaml:"stop_grace_period,omitempty"`
|
StopGracePeriod *time.Duration `mapstructure:"stop_grace_period" yaml:"stop_grace_period,omitempty"`
|
||||||
StopSignal string `mapstructure:"stop_signal" yaml:"stop_signal,omitempty"`
|
StopSignal string `mapstructure:"stop_signal" yaml:"stop_signal,omitempty"`
|
||||||
|
Sysctls StringList `yaml:",omitempty"`
|
||||||
Tmpfs StringList `yaml:",omitempty"`
|
Tmpfs StringList `yaml:",omitempty"`
|
||||||
Tty bool `mapstructure:"tty" yaml:"tty,omitempty"`
|
Tty bool `mapstructure:"tty" yaml:"tty,omitempty"`
|
||||||
Ulimits map[string]*UlimitsConfig `yaml:",omitempty"`
|
Ulimits map[string]*UlimitsConfig `yaml:",omitempty"`
|
||||||
User string `yaml:",omitempty"`
|
User string `yaml:",omitempty"`
|
||||||
|
UserNSMode string `mapstructure:"userns_mode" yaml:"userns_mode,omitempty"`
|
||||||
Volumes []ServiceVolumeConfig `yaml:",omitempty"`
|
Volumes []ServiceVolumeConfig `yaml:",omitempty"`
|
||||||
WorkingDir string `mapstructure:"working_dir" yaml:"working_dir,omitempty"`
|
WorkingDir string `mapstructure:"working_dir" yaml:"working_dir,omitempty"`
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue