Commit Graph

241 Commits

Author SHA1 Message Date
Andras Bacsai 5cef7cc092 Merge remote-tracking branch 'origin/next' into feat/railpack 2026-04-28 14:36:54 +02:00
Andras Bacsai fbed9063d8 build(deps): bump follow-redirects from 1.15.11 to 1.16.0 in /docker/coolify-realtime (#9690) 2026-04-28 14:30:21 +02:00
Andras Bacsai 1368026f20 fix(terminal): remove verbose websocket message logging 2026-04-28 12:29:32 +02:00
Andras Bacsai cabcd8f699 fix(terminal): add idle timeout, reconnect replay, and scrollback preservation
- Kill PTY and notify client after 30 min of inactivity (IDLE_TIMEOUT_MS)
- Buffer client messages during async auth/IP fetch to prevent race-condition
  message loss on fast reconnects
- Replay last sent command after transient reconnect so PTY respawns without
  user interaction
- Preserve scrollback on disconnect/reconnect; write visible timestamp markers
  instead of wiping term state
- Handle idle-timeout sentinel on client with user-facing error message
2026-04-28 12:26:31 +02:00
Andras Bacsai 9408620d5f fix(terminal): add WS heartbeat and fix proxy idle disconnects
Proxies (Cloudflare, nginx) drop idle WebSocket connections before the
application notices, leaving clients typing into dead sockets.

- Add server-side ping/pong heartbeat (30s) in terminal-server.js;
  terminate unresponsive clients instead of letting connections go stale
- Move client keepAlive interval start to the connect event so it
  restarts correctly after reconnects
- Remove hidden-tab keepalive short-circuit — server pings now own
  liveness; suppressing client pings while hidden masked proxy drops
- Fix clearAllTimers to use clearTimeout for one-shot timers
- On visibility resume, probe with a 5s timeout instead of the default
  35s so half-open sockets are detected quickly
- Bump coolify-realtime to 1.0.14 across all compose files
2026-04-28 10:35:32 +02:00
dependabot[bot] f1f53a31ab build(deps): bump follow-redirects in /docker/coolify-realtime
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.11 to 1.16.0.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.11...v1.16.0)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-version: 1.16.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-21 10:31:57 +00:00
Andras Bacsai 451b7376ed Merge remote-tracking branch 'origin/next' into feat/railpack 2026-04-17 07:01:27 +02:00
dependabot[bot] 942e1baaec build(deps): bump axios in /docker/coolify-realtime
Bumps [axios](https://github.com/axios/axios) from 1.13.6 to 1.15.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.13.6...v1.15.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.15.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-12 11:13:23 +00:00
Andras Bacsai f573ad28a0 Merge remote-tracking branch 'origin/next' into feat/railpack 2026-04-09 17:12:26 +02:00
Andras Bacsai acd07abcce fix(security): run apk upgrade in development Dockerfile
Add `apk upgrade --no-cache` before installing GnuPG and PostgreSQL
repository keys to ensure base Alpine packages are patched.
2026-04-05 18:18:58 +02:00
Charles Dabard 7d9a0748bf fix(security): add apk upgrade to helper and realtime Dockerfiles
The production Dockerfile already runs apk upgrade at build time.
The helper and realtime Dockerfiles were missing this step.

The helper (Alpine 3.21) ships with CVE-2025-15467 in OpenSSL 3.3.5.
The realtime (Alpine 3.18) has outdated OpenSSL 3.1.2 with HIGH CVEs.

Adding apk upgrade before apk add makes both images consistent
with the production Dockerfile.
2026-04-05 00:23:17 +02:00
Andras Bacsai c28fbab36a style(docker): standardize service startup log message format
Align log messages across all service startup scripts (horizon, nightwatch-agent,
scheduler-worker) in both development and production environments to use a
consistent "   INFO  " prefix format.
2026-03-27 19:05:36 +01:00
Andras Bacsai 9b0088072c refactor(docker): migrate service startup from Artisan commands to shell scripts
Remove custom Artisan console commands (Horizon, Nightwatch, Scheduler) and
refactor service startup logic directly into s6-overlay shell scripts. Check
environment variables from .env instead of routing through Laravel config.

Services now sleep when disabled instead of exiting immediately. Both
development and production environments updated consistently.
2026-03-27 14:12:30 +01:00
Andras Bacsai 2ed360f0e0 Merge remote-tracking branch 'origin/next' into feat/railpack 2026-03-23 21:58:33 +01:00
Aditya Tripathi cddbaf581f refactor(railpack): extract static image build, fix port logic, bump to v0.22.0
Extract build_railpack_static_image() into its own method, prevent port
override when is_static is set, bump Railpack to 0.22.0, and improve
test setup with beforeEach and correct polymorphic env var fields.
2026-03-23 19:02:10 +00:00
Aditya Tripathi 793077d74f feat(buildpack): add Railpack as a build pack option 2026-03-23 17:12:02 +00:00
Andras Bacsai c09d7e412e feat(monitoring): add Laravel Nightwatch monitoring support
- Install laravel/nightwatch package for application monitoring
- Create Nightwatch console command to start the monitoring agent
- Add NIGHTWATCH_ENABLED and NIGHTWATCH_TOKEN environment variables
- Configure nightwatch settings in config/constants.php
- Set up Docker s6-overlay services for both development and production
- Disable Nightwatch by default in test environment
2026-03-23 15:36:47 +01:00
Andras Bacsai b71d1561f3 chore(realtime): upgrade npm dependencies
Update dependencies in coolify-realtime package:
- @xterm/addon-fit 0.10.0 → 0.11.0
- @xterm/xterm 5.5.0 → 6.0.0
- axios 1.12.0 → 1.13.6
- cookie 1.0.2 → 1.1.1
- dotenv 16.5.0 → 17.3.1
- node-pty 1.0.0 → 1.1.0 (now uses node-addon-api instead of nan)
- ws 8.18.1 → 8.19.0
2026-03-10 21:07:14 +01:00
Andras Bacsai 5c5f67f48b chore: prepare for PR 2026-03-10 20:37:22 +01:00
Andras Bacsai b49069f3fc feat(docker): install PHP sockets extension in development environment
Add socket.io/php-socket dependency to support WebSocket functionality
in the development container. Also update package-lock.json to reflect
peer dependency configurations for Socket.IO packages.
2026-02-18 11:04:10 +01:00
peaklabs-dev 3b68914b73 build: upgrade postgres client to fix build error 2026-01-29 22:24:52 +01:00
Andras Bacsai 40e242b874 perf(nginx): increase client body buffer size to 256k for Sentinel payloads
Increases client_body_buffer_size from default (8k-16k) to 256k to handle
Sentinel monitoring data in memory instead of buffering to disk. This eliminates
the "client request body is buffered to a temporary file" warning and improves
performance for servers with many containers (50-100+) sending health check data.

Affects both production and development nginx configurations.
2025-11-10 11:32:49 +01:00
Mgs. M. Rizqi Fadhlurrahman 8a0b37c851 chore: update Nixpacks version to 1.41.0 2025-10-31 08:45:42 +07:00
Andras Bacsai 385af3143b fix: optimize caching in Dockerfile and GitHub Actions workflow 2025-10-27 16:59:41 +01:00
Andras Bacsai 22f7a20daa fix(docker): streamline openssh-client installation in Dockerfile
- Removed temporary repository configuration for Alpine v3.21.
- Upgraded system packages and added openssh-client directly to the installation process.
2025-09-24 20:49:49 +02:00
Andras Bacsai f3164f6ac1 fix(docker): adjust openssh-client installation in Dockerfile to avoid version bug
- Specified installation of openssh-client from Alpine v3.21 to prevent issues with version r8.
- Updated repository configuration to temporarily include v3.21 for this installation.
2025-09-24 20:41:17 +02:00
Andras Bacsai 90abdb0244 chore(docker): add a blank line for improved readability in Dockerfile 2025-09-15 18:57:30 +02:00
Andras Bacsai f6c0c9c0fd Merge pull request #6604 from coollabsio/dependabot/npm_and_yarn/docker/coolify-realtime/axios-1.12.0
chore(deps): bump axios from 1.8.4 to 1.12.0 in /docker/coolify-realtime
2025-09-15 12:49:45 +02:00
dependabot[bot] d679e1a7d0 chore(deps): bump axios from 1.8.4 to 1.12.0 in /docker/coolify-realtime
Bumps [axios](https://github.com/axios/axios) from 1.8.4 to 1.12.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.8.4...v1.12.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.12.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-13 12:45:57 +00:00
peaklabs-dev b140aa1996 chore(deps): bump minio and Nixpacks version 2025-09-10 19:58:10 +02:00
peaklabs-dev 3343806176 fix(backups): rollback helper update for now 2025-08-26 18:44:29 +02:00
Andras Bacsai 0e7cc988a6 feat(user): add changelog read tracking and unread count method 2025-08-12 10:06:19 +02:00
peaklabs-dev 6ddca603e2 chore(deps): update docker deps
- update Nixpacks to v1.39.0
2025-07-18 16:25:01 +02:00
peaklabs-dev 889712b53a chore(deps): update npm and composer deps 2025-07-18 16:24:13 +02:00
Andras Bacsai f7d6aa850b fix(terminal): Terminal through Cloudflare tunnel works?!
fix(dependencies): update realtime version to 1.0.9 and cloudflared version to 2025.5.0; enhance SSH argument parsing in terminal-server.js
2025-05-30 17:50:06 +02:00
peaklabs-dev d65f6ba2ec fix(docker): fix production dockerfile
- remove tailwind.config.js as it is no longer needed
- upgraded Node to v24 to fix a vulnerability
2025-05-14 12:53:08 +02:00
Andras Bacsai f5cc272861 fix(terminal): enhance WebSocket client verification with authorized IPs in terminal server 2025-04-25 15:35:23 +02:00
Andras Bacsai 77c8ed769b chore(deps): update axios and dotenv versions in package-lock.json; bump realtime version to 1.0.7 2025-04-14 14:30:57 +02:00
Andras Bacsai 0f0497c7fb chore(versions): update realtime version to 1.0.7 and bump dependencies in package.json 2025-04-14 11:48:44 +02:00
Andras Bacsai 79f9b85771 refactor(Dockerfile): remove service generation command from the build process to streamline Dockerfile and improve build efficiency 2025-04-13 16:02:06 +02:00
Andras Bacsai 5cc189b69a refactor(Dockerfile): reintroduce service generation command in the build process for consistency and ensure proper asset compilation 2025-04-13 15:38:17 +02:00
Andras Bacsai 3803bac2aa refactor(Dockerfile): streamline RUN commands for improved readability and maintainability by adding line continuations 2025-04-13 15:22:00 +02:00
Andras Bacsai 1ab7405e2e refactor(ServicesGenerate): update command signature from 'services:generate' to 'generate:services' for consistency; update Dockerfile to run service generation during build; update Odoo image version to 18 and add extra addons volume in compose configuration 2025-04-13 15:16:54 +02:00
peaklabs-dev 03b0ee59f6 feat(dep): bump all dependencies 2025-03-31 18:50:42 +02:00
peaklabs-dev c3c1bbc120 fix(core): production dockerfile 2025-02-24 18:12:48 +01:00
🏔️ Peak a46caf209f Chore: Bump all dependencies (#5216)
* chore: bump all docker dependecies

* chore: update composer and npm dep
2025-02-24 18:08:54 +01:00
peaklabs-dev edd4512f2b fix(helper): downgrade Nixpacks to v1.29.0 2025-01-23 13:22:14 +01:00
peaklabs-dev 168618f131 fix(routes): local API docs not available on domain or IP 2025-01-22 13:30:10 +01:00
Andras Bacsai bb08504db5 chore(docker): add blank line for readability in Dockerfile 2025-01-22 11:29:27 +01:00
peaklabs-dev ac4c1496a6 chore(dep): bump nixpacks version 2025-01-21 21:15:28 +01:00