Keep db data in mounted volume by default
This commit is contained in:
parent
e66b5f5679
commit
e9a1fedfa3
@ -4,7 +4,8 @@
|
|||||||
"./coverage/**",
|
"./coverage/**",
|
||||||
"public/**",
|
"public/**",
|
||||||
"./node_modules",
|
"./node_modules",
|
||||||
"docker_node_modules/**"
|
"docker_node_modules/**",
|
||||||
|
"./db/**"
|
||||||
],
|
],
|
||||||
"globbyOptions": { "gitignore": true },
|
"globbyOptions": { "gitignore": true },
|
||||||
"rules": {
|
"rules": {
|
||||||
|
@ -4,6 +4,8 @@ services:
|
|||||||
image: mongo:4.4-bionic
|
image: mongo:4.4-bionic
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:${PORT:-2076}7:27017"
|
- "127.0.0.1:${PORT:-2076}7:27017"
|
||||||
|
volumes:
|
||||||
|
- "./db:/data/db"
|
||||||
|
|
||||||
test:
|
test:
|
||||||
image: sealious-app:latest
|
image: sealious-app:latest
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
"test:ui": "npm run test -- --ui",
|
"test:ui": "npm run test -- --ui",
|
||||||
"test-ci": "TESTS_RUN_IN_DOCKER=true PW_TEST_CONNECT_WS_ENDPOINT=ws://playwright:3000/ npx playwright test",
|
"test-ci": "TESTS_RUN_IN_DOCKER=true PW_TEST_CONNECT_WS_ENDPOINT=ws://playwright:3000/ npx playwright test",
|
||||||
"prepare": "husky",
|
"prepare": "husky",
|
||||||
"lint-css": "stylelint \"**/*.css\" --config ./.stylelintrc.json",
|
"lint-css": "stylelint \"src/**/*.css\" --config ./.stylelintrc.json",
|
||||||
"lint-css-fix": "npm run lint-css -- --fix",
|
"lint-css-fix": "npm run lint-css -- --fix",
|
||||||
"lint-css-report": "npm run --silent lint-css -- --formatter json --output-file .stylelint-result.json",
|
"lint-css-report": "npm run --silent lint-css -- --formatter json --output-file .stylelint-result.json",
|
||||||
"lint-js": "eslint src",
|
"lint-js": "eslint src",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user