mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-09 07:03:25 +00:00
chore: add health check docker + update release-it config
This commit is contained in:
@@ -1,11 +1,15 @@
|
|||||||
{
|
{
|
||||||
"hooks": {
|
"hooks": {
|
||||||
"before:init": [
|
"before:init": [
|
||||||
"npm run lint"
|
"pnpm format",
|
||||||
|
"pnpm lint"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"git": {
|
"git": {
|
||||||
"commitMessage": "chore: release v${version}"
|
"commitMessage": "chore: release v${version}",
|
||||||
|
"commit": true,
|
||||||
|
"tag": true,
|
||||||
|
"push": true
|
||||||
},
|
},
|
||||||
"github": {
|
"github": {
|
||||||
"release": true
|
"release": true
|
||||||
|
|||||||
@@ -19,6 +19,11 @@ services:
|
|||||||
container_name: pgadmin
|
container_name: pgadmin
|
||||||
image: dpage/pgadmin4:8.6
|
image: dpage/pgadmin4:8.6
|
||||||
restart: always
|
restart: always
|
||||||
|
healthcheck:
|
||||||
|
test: ['CMD', 'wget', '-O', '-', 'http://localhost:80/misc/ping']
|
||||||
|
interval: 2s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 30
|
||||||
environment:
|
environment:
|
||||||
- PGADMIN_DEFAULT_EMAIL=myemail@gmail.com
|
- PGADMIN_DEFAULT_EMAIL=myemail@gmail.com
|
||||||
- PGADMIN_DEFAULT_PASSWORD=a12345678
|
- PGADMIN_DEFAULT_PASSWORD=a12345678
|
||||||
|
|||||||
@@ -94,6 +94,7 @@ function TableUserRow({ user }: { user: UserWithRelationCount }) {
|
|||||||
height={24}
|
height={24}
|
||||||
alt={fullname}
|
alt={fullname}
|
||||||
title={fullname}
|
title={fullname}
|
||||||
|
referrerPolicy="no-referrer"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<TextEllipsis>{fullname ?? '-'}</TextEllipsis>
|
<TextEllipsis>{fullname ?? '-'}</TextEllipsis>
|
||||||
|
|||||||
@@ -9,8 +9,8 @@
|
|||||||
"build": "node ace build",
|
"build": "node ace build",
|
||||||
"dev": "node ace serve --watch",
|
"dev": "node ace serve --watch",
|
||||||
"test": "node ace test",
|
"test": "node ace test",
|
||||||
"lint": "eslint .",
|
"lint": "eslint . --ext .ts,.tsx --report-unused-disable-directives --max-warnings 0",
|
||||||
"format": "prettier --write .",
|
"format": "prettier --write --parser typescript '**/*.{ts,tsx}'",
|
||||||
"typecheck": "tsc --noEmit",
|
"typecheck": "tsc --noEmit",
|
||||||
"prepare": "husky",
|
"prepare": "husky",
|
||||||
"release": "release-it"
|
"release": "release-it"
|
||||||
@@ -127,4 +127,4 @@
|
|||||||
"volta": {
|
"volta": {
|
||||||
"node": "22.2.0"
|
"node": "22.2.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user