Enable Gitea actions
This commit is contained in:
parent
85f2e87040
commit
1b2227af24
@ -1,5 +0,0 @@
|
||||
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
|
@ -2,9 +2,8 @@ version: "3"
|
||||
|
||||
services:
|
||||
gitea:
|
||||
image: pbrinkmeier/gitea
|
||||
build: .
|
||||
restart: always
|
||||
image: gitea/gitea:1.20.3
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
# Ref: https://docs.gitea.io/en-us/config-cheat-sheet
|
||||
# User is created by misc-docker.yaml
|
||||
@ -36,12 +35,17 @@ services:
|
||||
GITEA__service__DEFAULT_ENABLE_TIMETRACKING: "false"
|
||||
GITEA__service__DEFAULT_ALLOW_ONLY_CONTRIBUTORS_TO_TRACK_TIME: "false"
|
||||
GITEA__mailer__ENABLED: "true"
|
||||
GITEA__mailer__HOST: smtp.mailbox.org:465
|
||||
GITEA__mailer__PROTOCOL: smtps
|
||||
GITEA__mailer__SMTP_ADDR: smtp.mailbox.org
|
||||
GITEA__mailer__SMTP_HOST: 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"
|
||||
volumes:
|
||||
- /var/lib/pbri/docker/gitea:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
@ -53,7 +57,7 @@ services:
|
||||
|
||||
gitea_db:
|
||||
image: postgres:14.5-alpine
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_DB: gitea
|
||||
POSTGRES_USER: gitea
|
||||
|
Loading…
x
Reference in New Issue
Block a user