From 9939b10e5a6a6312626773d72dfcca65a13aee6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Gyarmati?= Date: Wed, 14 May 2025 21:43:39 +0900 Subject: [PATCH] feat(service): add Marimo service (#5559) --- CHANGELOG.md | 15 ++++- app/Console/Kernel.php | 2 +- other/nightly/versions.json | 4 +- public/svgs/marimo.svg | 112 +++++++++++++++++++++++++++++++++++ templates/compose/marimo.yml | 34 +++++++++++ versions.json | 4 +- 6 files changed, 165 insertions(+), 6 deletions(-) create mode 100644 public/svgs/marimo.svg create mode 100644 templates/compose/marimo.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index b508df1f7..f8c4a7ad6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,20 @@ All notable changes to this project will be documented in this file. -## [unreleased] +## [4.0.0-beta.417] - 2025-05-07 + +### 📚 Documentation + +- Update changelog + +## [4.0.0-beta.416] - 2025-05-05 + +### 📚 Documentation + +- Update changelog +- Update changelog + +## [4.0.0-beta.415] - 2025-04-29 ### 📚 Documentation diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 1c5d3e70b..c03475647 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -51,7 +51,7 @@ class Kernel extends ConsoleKernel } // $this->scheduleInstance->job(new CleanupStaleMultiplexedConnections)->hourly(); - $this->scheduleInstance->command('cleanup:redis')->everyTenMinutes(); + $this->scheduleInstance->command('cleanup:redis')->hourly(); if (isDev()) { // Instance Jobs diff --git a/other/nightly/versions.json b/other/nightly/versions.json index 7cd46baab..106273897 100644 --- a/other/nightly/versions.json +++ b/other/nightly/versions.json @@ -1,10 +1,10 @@ { "coolify": { "v4": { - "version": "4.0.0-beta.417" + "version": "4.0.0-beta.418" }, "nightly": { - "version": "4.0.0-beta.418" + "version": "4.0.0-beta.419" }, "helper": { "version": "1.0.8" diff --git a/public/svgs/marimo.svg b/public/svgs/marimo.svg new file mode 100644 index 000000000..30a70b487 --- /dev/null +++ b/public/svgs/marimo.svg @@ -0,0 +1,112 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/compose/marimo.yml b/templates/compose/marimo.yml new file mode 100644 index 000000000..be95f0b2b --- /dev/null +++ b/templates/compose/marimo.yml @@ -0,0 +1,34 @@ +# documentation: https://marimo.io/ +# slogan: An open-source reactive notebook for Python — reproducible, git-friendly, SQL built-in, executable as a script, and shareable as an app. +# tags: notebook, python, data, analysis +# logo: svgs/marimo.svg +# port: 8080 + +services: + marimo: + image: ghcr.io/marimo-team/marimo:latest-sql + environment: + - SERVICE_FQDN_MARIMO_8080 + - TOKEN_PASSWORD=$SERVICE_PASSWORD_MARIMO + volumes: + - "marimo:/app" + command: + - "marimo" + - "edit" + - "--token-password" + - "${SERVICE_PASSWORD_MARIMO}" + - "--port" + - "8080" + - "--host" + - "0.0.0.0" + healthcheck: + test: + - CMD + - uvx + - --with + - httpx[cli] + - httpx + - http://localhost:8080/health + interval: 5s + timeout: 5s + retries: 3 diff --git a/versions.json b/versions.json index 7cd46baab..106273897 100644 --- a/versions.json +++ b/versions.json @@ -1,10 +1,10 @@ { "coolify": { "v4": { - "version": "4.0.0-beta.417" + "version": "4.0.0-beta.418" }, "nightly": { - "version": "4.0.0-beta.418" + "version": "4.0.0-beta.419" }, "helper": { "version": "1.0.8"