mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 07:39:24 -05:00
fix(duck): forward stop signals through container init (#7371)
Reuse the existing container init option so the duck server receives SIGTERM instead of waiting for Docker to force-kill PID 1. Preserve the configured URL path and the existing stop timeout. Signed-off-by: Andre Kurait <akurait@amazon.com>
This commit is contained in:
1 parent
e872bdc308
commit
7bac1e356a
2 files changed
+65
No files matched your search
@@ -116,6 +116,7 @@ public class FlociDuckManager {
|
||||
|
||||
ContainerSpec spec = containerBuilder.newContainer(image)
|
||||
.withName(containerName)
|
||||
.withInit()
|
||||
.withEnv("FLOCI_DUCK_S3_ACCESS_KEY", "test")
|
||||
.withEnv("FLOCI_DUCK_S3_SECRET_KEY", "test")
|
||||
.withEnv("FLOCI_DUCK_S3_REGION", config.defaultRegion())
|
||||
|
||||
Reference in new issue
Block a user