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