mirror of
https://github.com/plankanban/planka.git
synced 2026-07-16 05:53:57 +03:00
[PR #1145] [MERGED] build: 🧑💻 specify nodemon and remove USER directive for dev container #1199
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/plankanban/planka/pull/1145
Author: @HannesOberreiter
Created: 5/23/2025
Status: ✅ Merged
Merged: 5/23/2025
Merged by: @meltyshev
Base:
master← Head:dev/docker📝 Commits (3)
61d4814build: 🧑💻 specify nodemon and remove context from docker dev container build3308f66fix: 🏗️ add context back as it is the default an no context does not work1a004cabuild: 💚 make health check based on env📊 Changes
3 files changed (+24 additions, -5 deletions)
View changed files
📝
Dockerfile.dev(+1 -2)📝
docker-compose-dev.yml(+8 -3)➕
server/nodemon.json(+15 -0)📄 Description
Dockerfile.devfromnode:18-alpinetonode:lts-alpineto 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...)USER nodedirective, to prevent permission issues as we hook the whole folder into the container.docker-compose-dev.ymlfile 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.nodemon.jsonconfiguration 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.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.