Logo
Explore Help
Register Sign In
starred/planka
1
0
Fork 0
You've already forked planka
mirror of https://github.com/plankanban/planka.git synced 2025-12-24 17:25:00 +03:00
Code Issues 418 Packages Projects Releases 12 Wiki Activity
Files
2f4bcb05833404d79bbbc1b98efe29901cc5560a
planka/server/nodemon.json

16 lines
261 B
JSON
Raw Normal View History

build: Improve Docker dev setup, add nodemon config (#1145) * Updated the base image in `Dockerfile.dev` from `node:18-alpine` to `node:lts-alpine` to use more or less the same as for production docker build (where the client is build lts and server is 18... so yeah not really...) * Removed the `USER node` directive, to prevent permission issues as we hook the whole folder into the container. * Modified the `docker-compose-dev.yml` file to enhance the database healthcheck. The new healthcheck ensures not only postgres is ready but also the database is ready by running a sample query (`SELECT 1`) and adjusts the interval, retries, and start period for better reliability. * Added a `nodemon.json` configuration file to watch only relevant files (node_modules would be ignored but not files like the python venv) and avoid rapid successive restarts with the delay.
2025-05-23 16:19:22 +02:00
{
"watch": [
"api/**/*.js",
"config/**/*.js",
"db/**/*.js",
"utils/**/*.js",
"app.js",
"constants.js"
],
"ignore": ["node_modules", ".tmp", ".venv"],
"ext": "js,json",
"verbose": true,
"delay": 1000,
"legacyWatch": false
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 195ms Template: 7ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API