Compare commits

..

No commits in common. "5474dbe720956d44af2c11d1b487c273f96d72b6" and "a71f915e06b4f91f991fe4df4cba57b41cc2b352" have entirely different histories.

3 changed files with 2 additions and 14 deletions

View File

@ -10,4 +10,3 @@
- [x] Use Gitea instead of GitLab - [x] Use Gitea instead of GitLab
- [ ] Add drone exec runner for Nix builds with shared `/nix` - [ ] Add drone exec runner for Nix builds with shared `/nix`
- [ ] Lint caddy file, add gzip and disable admin interface - [ ] 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

@ -1,5 +0,0 @@
FROM gitea/gitea:1.17.1
RUN apk --no-cache add gcc python3-dev py3-pip linux-headers musl-dev libffi-dev
RUN pip3 install --upgrade pip
RUN pip3 install jupyter

View File

@ -2,8 +2,7 @@ version: "3"
services: services:
gitea: gitea:
image: pbrinkmeier/gitea image: gitea/gitea:1.17.1
build: .
restart: always restart: always
environment: environment:
# Ref: https://docs.gitea.io/en-us/config-cheat-sheet # Ref: https://docs.gitea.io/en-us/config-cheat-sheet
@ -42,11 +41,6 @@ services:
GITEA__mailer__PASSWD: "${GITEA_SMTP_PASSWORD}" GITEA__mailer__PASSWD: "${GITEA_SMTP_PASSWORD}"
GITEA__openid__ENABLE_OPENID_SIGNIN: "false" GITEA__openid__ENABLE_OPENID_SIGNIN: "false"
GITEA__openid__ENABLE_OPENID_SIGNUP: "false" GITEA__openid__ENABLE_OPENID_SIGNUP: "false"
GITEA__markup_0x2E_jupyter__ENABLED: "true"
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: volumes:
- /var/lib/pbri/docker/gitea:/data - /var/lib/pbri/docker/gitea:/data
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro