Make Gitea display graphs in notebooks
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul Brinkmeier 2022-09-19 12:52:52 +02:00
parent 2586773680
commit 5474dbe720
2 changed files with 2 additions and 1 deletions

View File

@ -9,5 +9,5 @@
- [x] Check out docker swarm and current best practices for Ansible
- [x] Use Gitea instead of GitLab
- [ ] Add drone exec runner for Nix builds with shared `/nix`
- [ ] Make Gitea display graphs in Notebooks (see https://docs.gitea.io/en-us/external-renderers/).
- [ ] Lint caddy file, add gzip and disable admin interface
- [x] Make Gitea display graphs in Notebooks (see https://docs.gitea.io/en-us/external-renderers/).

View File

@ -46,6 +46,7 @@ services:
GITEA__markup_0x2E_jupyter__FILE_EXTENSIONS: ".ipynb"
GITEA__markup_0x2E_jupyter__RENDER_COMMAND: "jupyter nbconvert --stdin --stdout --to html --template basic"
GITEA__markup_0x2E_jupyter__IS_INPUT_FILE: "false"
GITEA__markup_0x2E_sanitizer_0x2E_jupyter_0x2E_img__ALLOW_DATA_URI_IMAGES: "true"
volumes:
- /var/lib/pbri/docker/gitea:/data
- /etc/timezone:/etc/timezone:ro