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

🐛 Bug Report: ghcr.io/novuhq/novu/web:2.1.0 docker container STATUS (unhealthy) - curl: not found #7478

Open
2 tasks done
Aaron-Ritter opened this issue Jan 10, 2025 · 1 comment
Labels

Comments

@Aaron-Ritter
Copy link

📜 Description

community docker specifies a healthcheck with curl, but curl is not present in the ghcr.io/novuhq/novu/web:2.1.0 image

web:
image: 'ghcr.io/novuhq/novu/web:2.1.0'
depends_on:
- api
- worker
container_name: web
restart: unless-stopped
logging:
driver: 'json-file'
options:
max-size: '50m'
max-file: '5'
environment:
REACT_APP_API_URL: ${API_ROOT_URL}
REACT_APP_ENVIRONMENT: ${NODE_ENV}
REACT_APP_WIDGET_EMBED_PATH: ${WIDGET_EMBED_PATH}
REACT_APP_IS_SELF_HOSTED: 'true'
REACT_APP_WS_URL: ${REACT_APP_WS_URL}
ports:
- 4200:4200
command: ['/bin/sh', '-c', 'pnpm run envsetup:docker && pnpm run start:static:build']
healthcheck:
test: ['CMD-SHELL', 'curl --silent --fail http://localhost:4200 || exit 1']
interval: 30s
timeout: 10s
retries: 3
start_period: 10s

👟 Reproduction steps

  1. run the community docker compose
  2. open the shell of the web container
  3. run curl

👍 Expected behavior

have curl installed and therefore have a successful test

👎 Actual Behavior with Screenshots

NAME                                     IMAGE                           COMMAND                  SERVICE   CREATED         STATUS                     PORTS
novu-web-1   ghcr.io/novuhq/novu/web:2.1.0   "docker-entrypoint.s…"   web       2 minutes ago   Up 2 minutes (unhealthy)   0.0.0.0:4200->4200/tcp, :::4200->4200/tcp

Novu version

Novu Community 2.1.0

npm version

No response

node version

No response

📃 Provide any additional context for the Bug.

No response

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to submit PR?

Yes I am willing to submit a PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant