Skip to content

Conversation

@carlobeltrame
Copy link
Member

@carlobeltrame carlobeltrame commented Oct 4, 2025

Speeds up stopping the dev containers.

Before (>20s):

Gracefully stopping... (press Ctrl+C again to force)
[+] Stopping 12/12
 ✔ Container ecamp3-reverse-proxy          Stopped                                                                                     10.2s 
 ✔ Container ecamp3-print                  Stopped                                                                                     10.1s 
 ✔ Container ecamp3-browserless            Stopped                                                                                      0.2s 
 ✔ Container ecamp3-http-cache-logs        Stopped                                                                                      0.2s 
 ✔ Container ecamp3-pg-admin               Stopped                                                                                      1.5s 
 ✔ Container ecamp3-mail                   Stopped                                                                                      0.2s 
 ✔ Container ecamp3-http-cache             Stopped                                                                                      0.2s 
 ✔ Container ecamp3-frontend               Stopped                                                                                     10.2s 
 ✔ Container ecamp3-api                    Stopped                                                                                      0.2s 
 ✔ Container ecamp3-database               Stopped                                                                                      0.2s 
 ✔ Container ecamp3-docker-host-forwarder  Stopped                                                                                      0.1s 
 ✔ Container ecamp3-pdf                    Stopped                                                                                     10.2s

After (~2s):

Gracefully stopping... (press Ctrl+C again to force)
[+] Stopping 12/12
 ✔ Container ecamp3-browserless            Stopped                                                                                      0.3s 
 ✔ Container ecamp3-pg-admin               Stopped                                                                                      1.5s 
 ✔ Container ecamp3-http-cache-logs        Stopped                                                                                      0.2s 
 ✔ Container ecamp3-print                  Stopped                                                                                      0.4s 
 ✔ Container ecamp3-mail                   Stopped                                                                                      0.2s 
 ✔ Container ecamp3-reverse-proxy          Stopped                                                                                      0.3s 
 ✔ Container ecamp3-http-cache             Stopped                                                                                      0.2s 
 ✔ Container ecamp3-frontend               Stopped                                                                                      0.2s 
 ✔ Container ecamp3-api                    Stopped                                                                                      0.1s 
 ✔ Container ecamp3-pdf                    Stopped                                                                                      0.1s 
 ✔ Container ecamp3-docker-host-forwarder  Stopped                                                                                      0.1s 
 ✔ Container ecamp3-database               Stopped                                                                                      0.2s

The stop is less graceful, but these processes did nothing to shut down gracefully anyways.

@carlobeltrame carlobeltrame requested a review from a team October 4, 2025 00:22
@simfeld simfeld added this pull request to the merge queue Oct 4, 2025
Merged via the queue into ecamp:devel with commit 5995f43 Oct 4, 2025
30 checks passed
@carlobeltrame carlobeltrame deleted the docker-stop-signal branch October 4, 2025 09:34
This was referenced Oct 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants