Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Container stops very slowly #6

Open
dandjo opened this issue Jul 13, 2024 · 0 comments
Open

Container stops very slowly #6

dandjo opened this issue Jul 13, 2024 · 0 comments

Comments

@dandjo
Copy link

dandjo commented Jul 13, 2024

Summary

The wodby/webgrind container takes 10 seconds (which is the maximum a container is allowed to stop) when issuing a SIGTERM (Ctrl + C after docker compose up). I guess the container is not properly handling signals. All my other container stop within a second.

docker-compose.yml

  webgrind:
    image: wodby/webgrind:1.9-1.30.0
    container_name: tm_${PROJECT_NAME}_webgrind
    environment:
      WEBGRIND_ORIG_CODEBASE_PATH: /var/www
    labels:
      - 'traefik.enable=true'
      - 'traefik.http.services.tm_${PROJECT_NAME}_webgrind.loadbalancer.server.port=8080'
      - 'traefik.http.routers.tm_${PROJECT_NAME}_webgrind.entrypoints=http'
      - 'traefik.http.routers.tm_${PROJECT_NAME}_webgrind.rule=Host(`webgrind.${DOMAIN_NAME}`)'
    volumes:
      - xdebug_data:/tmp
      - ./app:/mnt/codebase

Demonstration

simplescreenrecorder-2024-07-13_21.23.12.mp4
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

No branches or pull requests

1 participant