Compare commits
3 Commits
a71f915e06
...
5474dbe720
Author | SHA1 | Date | |
---|---|---|---|
5474dbe720 | |||
2586773680 | |||
13e48a54c3 |
3
TODO.md
3
TODO.md
@ -9,4 +9,5 @@
|
|||||||
- [x] Check out docker swarm and current best practices for Ansible
|
- [x] Check out docker swarm and current best practices for Ansible
|
||||||
- [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/).
|
||||||
|
5
docker/gitea/Dockerfile
Normal file
5
docker/gitea/Dockerfile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
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
|
@ -2,7 +2,8 @@ version: "3"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
gitea:
|
gitea:
|
||||||
image: gitea/gitea:1.17.1
|
image: pbrinkmeier/gitea
|
||||||
|
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
|
||||||
@ -41,6 +42,11 @@ 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user