Skip to content

Commit b552ee7

Browse files
committed
chore: add service template for Marimo
1 parent 900b5ad commit b552ee7

File tree

2 files changed

+144
-0
lines changed

2 files changed

+144
-0
lines changed

public/svgs/marimo.svg

+112
Loading

templates/compose/marimo.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# documentation: https://marimo.io/
2+
# slogan: An open-source reactive notebook for Python — reproducible, git-friendly, SQL built-in, executable as a script, and shareable as an app.
3+
# tags: notebook, python, data, analysis
4+
# logo: svgs/marimo.svg
5+
# port: 8080
6+
7+
services:
8+
marimo:
9+
image: ghcr.io/marimo-team/marimo:latest-sql
10+
environment:
11+
- SERVICE_FQDN_MARIMO_8080
12+
- TOKEN_PASSWORD=$SERVICE_PASSWORD_MARIMO
13+
volumes:
14+
- "marimo:/app"
15+
command:
16+
- "marimo"
17+
- "edit"
18+
- "--token-password"
19+
- "${SERVICE_PASSWORD_MARIMO}"
20+
- "--port"
21+
- "8080"
22+
- "--host"
23+
- "0.0.0.0"
24+
healthcheck:
25+
test:
26+
- CMD
27+
- bash
28+
- -c
29+
- "pip install --upgrade pip -q; pip install requests -q; python -c 'import requests as r;r.get(\"http://0.0.0.0:8080\").raise_for_status()'"
30+
interval: 5s
31+
timeout: 5s
32+
retries: 3

0 commit comments

Comments
 (0)