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