Skip to content

Commit 088a0dc

Browse files
authored
fix(root): remove healthcheck option in docker-compose.yml (#7929)
1 parent 205eac3 commit 088a0dc

File tree

2 files changed

+4
-26
lines changed

2 files changed

+4
-26
lines changed

docker/community/.env.example

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ HOST_NAME=http://localhost
1616
# General
1717
# available values 'dev', 'test', 'production', 'ci', 'local'
1818
NODE_ENV=local
19-
MONGO_MAX_POOL_SIZE=200
20-
MONGO_MIN_POOL_SIZE=75
19+
MONGO_MAX_POOL_SIZE=10
20+
MONGO_MIN_POOL_SIZE=5
2121

2222
# MONGO USER
2323
MONGO_INITDB_ROOT_USERNAME=root
@@ -68,8 +68,8 @@ WIDGET_CONTEXT_PATH=
6868
# Analytics
6969
SENTRY_DSN=
7070
# change these values
71-
NEW_RELIC_APP_NAME=
72-
NEW_RELIC_LICENSE_KEY=
71+
NEW_RELIC_APP_NAME="NEW_RELIC_APP_NAME"
72+
NEW_RELIC_LICENSE_KEY="NEW_RELIC_LICENSE_KEY"
7373

7474
BROADCAST_QUEUE_CHUNK_SIZE=100
7575
MULTICAST_QUEUE_CHUNK_SIZE=100

docker/community/docker-compose.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@ services:
99
options:
1010
max-size: '50m'
1111
max-file: '5'
12-
healthcheck:
13-
test: ['CMD', 'redis-cli', 'ping']
14-
interval: 30s
15-
timeout: 5s
16-
retries: 3
17-
start_period: 10s
1812

1913
mongodb:
2014
image: mongo:8.0.3
@@ -34,16 +28,6 @@ services:
3428
- mongodb:/data/db
3529
ports:
3630
- 27017:27017
37-
healthcheck:
38-
test:
39-
[
40-
'CMD-SHELL',
41-
"echo 'db.runCommand({ ping: 1 }).ok' | mongosh mongodb://${MONGO_INITDB_ROOT_USERNAME}:${MONGO_INITDB_ROOT_PASSWORD}@127.0.0.1:27017/admin --quiet",
42-
]
43-
interval: 30s
44-
timeout: 10s
45-
retries: 5
46-
start_period: 60s
4731

4832
api:
4933
image: 'ghcr.io/novuhq/novu/api:2.1.1'
@@ -178,12 +162,6 @@ services:
178162
ports:
179163
- 4200:4200
180164
command: ['/bin/sh', '-c', 'pnpm run envsetup:docker && pnpm run start:static:build']
181-
healthcheck:
182-
test: ['CMD-SHELL', 'curl --silent --fail http://localhost:4200 || exit 1']
183-
interval: 30s
184-
timeout: 10s
185-
retries: 3
186-
start_period: 10s
187165

188166
volumes:
189167
mongodb: ~

0 commit comments

Comments
 (0)