Support hostname and domainname

This commit is contained in:
Hang Yan
2018-03-31 12:00:37 +08:00
parent b141064ef4
commit 88b8e316b9
14 changed files with 271 additions and 8 deletions
+2
View File
@@ -69,6 +69,8 @@ type ServiceConfig struct {
Port []Ports `compose:"ports"`
Command []string `compose:"command"`
WorkingDir string `compose:""`
DomainName string `compose:"domainname"`
HostName string `compose:"hostname"`
Args []string `compose:"args"`
VolList []string `compose:"volumes"`
Network []string `compose:"network"`