@@ -399,7 +399,7 @@ func services(workingDir, homeDir string) []types.ServiceConfig {
399399 {Source : "/opt/data" , Target : "/var/lib/mysql" , Type : "bind" , Bind : & types.ServiceVolumeBind {CreateHostPath : true }},
400400 {Source : workingDir , Target : "/code" , Type : "bind" , Bind : & types.ServiceVolumeBind {CreateHostPath : true }},
401401 {Source : filepath .Join (workingDir , "static" ), Target : "/var/www/html" , Type : "bind" , Bind : & types.ServiceVolumeBind {CreateHostPath : true }},
402- {Source : filepath .Join (homeDir , "/configs" ), Target : "/etc/configs/ " , Type : "bind" , ReadOnly : true , Bind : & types.ServiceVolumeBind {CreateHostPath : true }},
402+ {Source : filepath .Join (homeDir , "/configs" ), Target : "/etc/configs" , Type : "bind" , ReadOnly : true , Bind : & types.ServiceVolumeBind {CreateHostPath : true }},
403403 {Source : "datavolume" , Target : "/var/lib/mysql" , Type : "volume" , Volume : & types.ServiceVolumeVolume {}},
404404 {Source : filepath .Join (workingDir , "opt" ), Target : "/opt" , Consistency : "cached" , Type : "bind" },
405405 {Target : "/opt" , Type : "tmpfs" , Tmpfs : & types.ServiceVolumeTmpfs {
@@ -851,7 +851,7 @@ func fullExampleYAML(workingDir, homeDir string) string {
851851 create_host_path: true
852852 - type: bind
853853 source: %s
854- target: /etc/configs/
854+ target: /etc/configs
855855 read_only: true
856856 bind:
857857 create_host_path: true
@@ -1481,7 +1481,7 @@ func fullExampleJSON(workingDir, homeDir string) string {
14811481 {
14821482 "type": "bind",
14831483 "source": "%s",
1484- "target": "/etc/configs/ ",
1484+ "target": "/etc/configs",
14851485 "read_only": true,
14861486 "bind": {
14871487 "create_host_path": true
0 commit comments