feat(service): add Marimo service (#5559)
This commit is contained in:
34
templates/compose/marimo.yml
Normal file
34
templates/compose/marimo.yml
Normal 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
|
||||
Reference in New Issue
Block a user