bumping version and including nbconvert
This commit is contained in:
+12
-1
@@ -5,7 +5,10 @@ networks:
|
||||
services:
|
||||
# 1. Gitea Core Engine (SQLite Variant)
|
||||
server:
|
||||
image: gitea/gitea:1.22
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: gitea-jms:1.26.4
|
||||
container_name: gitea_server
|
||||
restart: always
|
||||
networks:
|
||||
@@ -17,6 +20,8 @@ services:
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
# Mermaid diagram size cap (older Gitea defaults to 5000; raise to modern default)
|
||||
- GITEA__markup__MERMAID_MAX_SOURCE_CHARACTERS=50000
|
||||
# Force Gitea to lock right onto your imported database file
|
||||
- GITEA__database__DB_TYPE=sqlite3
|
||||
- GITEA__database__PATH=/data/gitea.db
|
||||
@@ -25,6 +30,12 @@ services:
|
||||
- GITEA__server__ROOT_URL=https://gitea.jms.rocks/
|
||||
- GITEA__server__HTTP_PORT=3000
|
||||
- GITEA__server__SSH_PORT=2222
|
||||
# External renderer: Jupyter notebooks (.ipynb) via nbconvert
|
||||
- GITEA__markup.jupyter__ENABLED=true
|
||||
- GITEA__markup.jupyter__FILE_EXTENSIONS=.ipynb
|
||||
- GITEA__markup.jupyter__RENDER_COMMAND=jupyter-nbconvert --stdin --stdout --to html --template basic
|
||||
- GITEA__markup.jupyter__IS_INPUT_FILE=false
|
||||
- GITEA__markup.sanitizer.jupyter.img__ALLOW_DATA_URI_IMAGES=true
|
||||
ports:
|
||||
- "127.0.0.1:3000:3000"
|
||||
- "2222:22"
|
||||
|
||||
Reference in New Issue
Block a user