feat(service): add Marimo service (#5559)

This commit is contained in:
Péter Gyarmati
2025-05-14 21:43:39 +09:00
committed by GitHub
parent 4a2478af25
commit 9939b10e5a
6 changed files with 165 additions and 6 deletions

View File

@@ -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