File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,11 +62,11 @@ service_specs:
6262 publish_mode : ingress
6363 health_check :
6464 test : ["CMD", "true"]
65- interval : 5000000 # 5s
66- timeout : 5000000 # 5s
65+ interval : 5000000000 # 5s (nanoseconds)
66+ timeout : 5000000000 # 5s (nanoseconds)
6767 retries : 3
68- start_period : 5000000 # 5s
69- start_interval : 1000000 # 1s
68+ start_period : 5000000000 # 5s (nanoseconds)
69+ start_interval : 1000000000 # 1s (nanoseconds)
7070 mounts :
7171 /etc/nginx/ :
7272 source : " web-data"
Original file line number Diff line number Diff line change 7575 ]
7676 },
7777 "stop_grace_period" : {
78- "type" : " int32 "
78+ "type" : " float64 "
7979 },
8080 "user" : {
8181 "type" : " string"
140140 }
141141 },
142142 "interval" : {
143- "type" : " int32 "
143+ "type" : " float64 "
144144 },
145145 "timeout" : {
146- "type" : " int32 "
146+ "type" : " float64 "
147147 },
148148 "retries" : {
149149 "type" : " int32"
150150 },
151151 "start_period" : {
152- "type" : " int32 "
152+ "type" : " float64 "
153153 },
154154 "start_interval" : {
155- "type" : " int32 "
155+ "type" : " float64 "
156156 }
157157 }
158158 },
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ export const swarmAppConfigSchema: JTDSchemaType<SwarmAppConfig> = {
104104 } ,
105105 replicas : { type : "int32" } ,
106106 stop_signal : { enum : [ "SIGTERM" , "SIGQUIT" ] } ,
107- stop_grace_period : { type : "int32 " } ,
107+ stop_grace_period : { type : "float64 " } ,
108108 user : { type : "string" } ,
109109 placement : {
110110 optionalProperties : {
@@ -138,11 +138,11 @@ export const swarmAppConfigSchema: JTDSchemaType<SwarmAppConfig> = {
138138 health_check : {
139139 optionalProperties : {
140140 test : { elements : { type : "string" } } ,
141- interval : { type : "int32 " } ,
142- timeout : { type : "int32 " } ,
141+ interval : { type : "float64 " } ,
142+ timeout : { type : "float64 " } ,
143143 retries : { type : "int32" } ,
144- start_period : { type : "int32 " } ,
145- start_interval : { type : "int32 " } ,
144+ start_period : { type : "float64 " } ,
145+ start_interval : { type : "float64 " } ,
146146 } ,
147147 } ,
148148 dir : { type : "string" } ,
You can’t perform that action at this time.
0 commit comments