fix rmeove orphans

This commit is contained in:
Simon Larsen 2023-06-07 10:45:34 +01:00
parent d16cf40914
commit 77ac490b71
No known key found for this signature in database
GPG key ID: AB45983AA9C81CDE
3 changed files with 3 additions and 3 deletions

2
.vscode/launch.json vendored
View file

@ -115,7 +115,7 @@
"address": "127.0.0.1",
"localRoot": "${workspaceFolder}/Mail",
"name": "Mail: Debug with Docker",
"port": 9110,
"port": 9111,
"remoteRoot": "/usr/src/app",
"request": "attach",
"skipFiles": [

View file

@ -54,7 +54,7 @@ services:
notification:
ports:
{{ if eq .Env.ENVIRONMENT "development" }}
- 9110:9229 # Debugging port.
- 9111:9229 # Debugging port.
{{ end }}
- 3191:3191
{{ if or (eq .Env.ENVIRONMENT "development") (eq .Env.ENVIRONMENT "ci") }}

View file

@ -44,7 +44,7 @@
"lint": "ejslint home/views/*.ejs && eslint '**/*.ts*' -c .eslintrc.json --ignore-path .eslintignore ",
"fix-lint": " node --max_old_space_size=18192 ./node_modules/.bin/eslint '**/*.ts*' -c .eslintrc.json --ignore-path .eslintignore --fix ",
"fix": "npm run fix-lint",
"start": "sudo docker compose up -d $npm_config_services",
"start": "sudo docker compose up --remove-orphans -d $npm_config_services",
"ps": "sudo docker compose ps",
"save-logs": "sudo docker compose logs --tail=100000 $npm_config_services > logs.txt",
"logs": "sudo docker compose logs --tail=100 -f $npm_config_services",