Compare commits

...

6 Commits
master ... do

Author SHA1 Message Date
giles fa46187af7 Update 'gitea/app.ini'
continuous-integration/drone/push Build is passing Details
2020-08-10 15:50:52 +00:00
giles 821dc14274 Update 'gitea/Dockerfile'
continuous-integration/drone/push Build is passing Details
2020-07-29 16:49:10 +00:00
giles e9dcccb795 Update 'gitea/Dockerfile'
continuous-integration/drone/push Build is failing Details
2020-07-29 16:47:24 +00:00
Giles Bradshaw e86183a0c9 .
continuous-integration/drone/push Build is running Details
2020-05-11 11:27:47 +01:00
Giles Bradshaw f6e75f3533 .
continuous-integration/drone/push Build is passing Details
2020-05-11 11:16:29 +01:00
Giles Bradshaw edd86b970d deploy to do
continuous-integration/drone/push Build is running Details
2020-05-11 11:07:23 +01:00
4 changed files with 19 additions and 5 deletions

14
.drone-do.star Normal file
View File

@ -0,0 +1,14 @@
load("@this//gitea:drone.star", "drone")
load("@this//gitea:stack-name.star", "stackName")
load("@this//gitea:stack-root.star", "stackRoot")
def main(ctx):
return drone(
ctx,
"do",
stackRoot,
stackName,
[]
)

View File

@ -1,4 +1,4 @@
FROM gitea/gitea:1.11.4-linux-amd64
FROM gitea/gitea:1.12.3-linux-amd64
COPY app.ini /init/
COPY ./templates /init/templates/
COPY run.sh /

View File

@ -63,7 +63,7 @@ SECRET_KEY = ${GITEA_SECURITY_SECRET_KEY}
INTERNAL_TOKEN = ${GITEA_SECURITY_INTERNAL_TOKEN}
PASSWORD_COMPLEXITY = off
[service]
DISABLE_REGISTRATION = false
DISABLE_REGISTRATION = true
REQUIRE_SIGNIN_VIEW = false
REGISTER_EMAIL_CONFIRM = true
ENABLE_NOTIFY_MAIL = true

View File

@ -1,12 +1,12 @@
envsubst < /init/app.ini > /data/gitea/conf/app.ini
mkdir /data/gitea/templates
mkdir -p /data/gitea/templates
for file in /init/templates/*
do
FILENAME=$(basename "$file")
echo "$file"
echo "$file : $FILENAME"
echo $FILENAME
envsubst < "$file" > "/data/gitea/templates/$FILENAME"
done
echo running
/bin/s6-svscan /etc/s6