@amplication/plugin-db-mongo
Advanced tools
Comparing version 1.4.6 to 1.4.7
{ | ||
"name": "@amplication/plugin-db-mongo", | ||
"version": "1.4.6", | ||
"version": "1.4.7", | ||
"description": "Use a Mongo database in a service generated by Amplication", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -44,3 +44,3 @@ import { CreateServerDockerComposeParams } from "@amplication/code-gen-types"; | ||
healthcheck: { | ||
test: "test $$(mongosh --quiet -u $${MONGO_INITDB_ROOT_USERNAME} -p $${MONGO_INITDB_ROOT_PASSWORD} --eval \"try { rs.initiate({ _id: 'rs0', members: [{ _id: 0, host: 'db' }] }).ok } catch (_) { rs.status().ok }\") -eq 1", | ||
test: 'test $$(mongosh --quiet -u $${MONGO_INITDB_ROOT_USERNAME} -p $${MONGO_INITDB_ROOT_PASSWORD} --eval "try { rs.initiate({ _id: \'"rs0"\',members: [{ _id: 0, host: \'"localhost"\' }] }).ok } catch (_) { rs.status().ok}") -eq 1', | ||
start_period: "5s", | ||
@@ -79,3 +79,3 @@ interval: "10s", | ||
healthcheck: { | ||
test: "test $$(mongosh --quiet -u $${MONGO_INITDB_ROOT_USERNAME} -p $${MONGO_INITDB_ROOT_PASSWORD} --eval \"try { rs.initiate({ _id: 'rs0', members: [{ _id: 0, host: 'db' }] }).ok } catch (_) { rs.status().ok }\") -eq 1", | ||
test: 'test $$(mongosh --quiet -u $${MONGO_INITDB_ROOT_USERNAME} -p $${MONGO_INITDB_ROOT_PASSWORD} --eval "try { rs.initiate({ _id: \'"rs0"\',members: [{ _id: 0, host: \'"localhost"\' }] }).ok } catch (_) { rs.status().ok}") -eq 1', | ||
start_period: "5s", | ||
@@ -82,0 +82,0 @@ interval: "10s", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
203057
0