Skip to content

fix(root): remove healthcheck option in docker-compose.yml #7929

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

Merged
merged 2 commits into from
Mar 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docker/community/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ HOST_NAME=http://localhost
# General
# available values 'dev', 'test', 'production', 'ci', 'local'
NODE_ENV=local
MONGO_MAX_POOL_SIZE=200
MONGO_MIN_POOL_SIZE=75
MONGO_MAX_POOL_SIZE=10
MONGO_MIN_POOL_SIZE=5

# MONGO USER
MONGO_INITDB_ROOT_USERNAME=root
Expand Down Expand Up @@ -68,8 +68,8 @@ WIDGET_CONTEXT_PATH=
# Analytics
SENTRY_DSN=
# change these values
NEW_RELIC_APP_NAME=
NEW_RELIC_LICENSE_KEY=
NEW_RELIC_APP_NAME="NEW_RELIC_APP_NAME"
NEW_RELIC_LICENSE_KEY="NEW_RELIC_LICENSE_KEY"

BROADCAST_QUEUE_CHUNK_SIZE=100
MULTICAST_QUEUE_CHUNK_SIZE=100
22 changes: 0 additions & 22 deletions docker/community/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ services:
options:
max-size: '50m'
max-file: '5'
healthcheck:
test: ['CMD', 'redis-cli', 'ping']
interval: 30s
timeout: 5s
retries: 3
start_period: 10s

mongodb:
image: mongo:8.0.3
Expand All @@ -34,16 +28,6 @@ services:
- mongodb:/data/db
ports:
- 27017:27017
healthcheck:
test:
[
'CMD-SHELL',
"echo 'db.runCommand({ ping: 1 }).ok' | mongosh mongodb://${MONGO_INITDB_ROOT_USERNAME}:${MONGO_INITDB_ROOT_PASSWORD}@127.0.0.1:27017/admin --quiet",
]
interval: 30s
timeout: 10s
retries: 5
start_period: 60s

api:
image: 'ghcr.io/novuhq/novu/api:2.1.1'
Expand Down Expand Up @@ -178,12 +162,6 @@ services:
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

volumes:
mongodb: ~
Loading