Commit Graph

12 Commits

Author SHA1 Message Date
Cohee dbf15b335e Add /docker/dist to ignore files 2026-03-15 23:35:22 +02:00
Pavdig 78651bdf56 Docker: Build Optimization and Enhanced Non-Root/Volumeless Support (#5024)
* docker: optimize build layers and enhance permission handling

- Pre-created hardcoded dirs in Dockerfile to support volumeless non-root runs.
- Enhanced slightly docker-entrypoint.sh with robust volume detection and safer chown logic.
- Included legacy 'backups' directory... again.
- Added dos2unix to install list.
- Updated .dockerignore
- Updated comments
- Smaller fixes

* fix(docker): removed unnecessary comment, and the... *sighs* backups dir, again

* Exclude DS_Store everywhere

* Exclude tests and all jsconfigs from docker images

* Exclude local plugins from docker builds

* fix(docker): backups are back... yay xD

* feat(docker): add robust healthcheck script

- Added `docker/healthcheck.cjs`: A standalone, dependency-free Node.js script for verifying server status.
- Updated `Dockerfile`: Added HEALTHCHECK instruction and script copy step.
- Features: Auto-detects port from env/config, handles IPv4/IPv6 fallback, auto-retries HTTPS on socket hangup, and sets custom User-Agent.

* Fix .dockerignore permission

* Revert "feat(docker): add robust healthcheck script"

This reverts commit fa634fb08884cdef9245a12271cb9a13b487365f.

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2026-01-17 22:51:50 +02:00
equal-l2 cd9de2f1b0 Add docker data directories to .dockerignore (#4873)
* Add docker data directories to .dockerignore

* Remove /docker/user from .dockerignore

The folder is not in docker-compose
2025-12-10 20:15:35 +02:00
Cohee 192236f8dd Add config for jeremy code assist 2025-07-19 21:02:16 +03:00
Cohee 0aad86c0b6 Add /colab to .dockerignore and .npmignore 2025-04-27 19:07:52 +03:00
Cohee 126616d539 Refactor and JSDoc extensions.js 2024-12-07 20:31:16 +02:00
Cohee fde4995ade Add dotfolders to docker and npm ignores 2024-07-02 13:26:23 +00:00
Cohee 5b002c6e46 #2422 Move uploads under the data root 2024-06-26 23:22:42 +03:00
Cohee a3da248e3c Adapt Docker files to neo-server data migration 2024-04-12 01:32:40 +03:00
Cohee 4fd0a055e2 Notify about listen mode connections 2023-08-26 14:17:57 +03:00
Cohee 926bf0b4c9 Update gitignore 2023-08-03 18:46:53 +03:00
Cohee edd41989fd Initial commit 2023-07-20 20:32:15 +03:00