Compare commits

..

No commits in common. "1b2227af246393e86f5a6bd1f78c7e0632fe8f40" and "d400a4b0e7a46447593332794bf373ce4112ab05" have entirely different histories.

2 changed files with 15 additions and 9 deletions

View File

@ -0,0 +1,5 @@
FROM gitea/gitea:1.20
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,9 @@ version: "3"
services:
gitea:
image: gitea/gitea:1.20.3
restart: unless-stopped
image: pbrinkmeier/gitea
build: .
restart: always
environment:
# Ref: https://docs.gitea.io/en-us/config-cheat-sheet
# User is created by misc-docker.yaml
@ -35,17 +36,17 @@ services:
GITEA__service__DEFAULT_ENABLE_TIMETRACKING: "false"
GITEA__service__DEFAULT_ALLOW_ONLY_CONTRIBUTORS_TO_TRACK_TIME: "false"
GITEA__mailer__ENABLED: "true"
GITEA__mailer__PROTOCOL: smtps
GITEA__mailer__SMTP_ADDR: smtp.mailbox.org
GITEA__mailer__SMTP_HOST: 465
GITEA__mailer__HOST: smtp.mailbox.org:465
GITEA__mailer__FROM: git@pbrinkmeier.de
GITEA__mailer__USER: hallo@pbrinkmeier.de
GITEA__mailer__PASSWD: "${GITEA_SMTP_PASSWORD}"
GITEA__openid__ENABLE_OPENID_SIGNIN: "false"
GITEA__openid__ENABLE_OPENID_SIGNUP: "false"
# Enable Gitea actions
# Ref: https://docs.gitea.com/usage/actions/quickstart
GITEA__actions__ENABLED: "true"
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:
- /var/lib/pbri/docker/gitea:/data
- /etc/timezone:/etc/timezone:ro
@ -57,7 +58,7 @@ services:
gitea_db:
image: postgres:14.5-alpine
restart: unless-stopped
restart: always
environment:
POSTGRES_DB: gitea
POSTGRES_USER: gitea