Compare commits
6 Commits
Author | SHA1 | Date |
---|---|---|
giles | fa46187af7 | |
giles | 821dc14274 | |
giles | e9dcccb795 | |
Giles Bradshaw | e86183a0c9 | |
Giles Bradshaw | f6e75f3533 | |
Giles Bradshaw | edd86b970d |
|
@ -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,
|
||||
[]
|
||||
)
|
||||
|
|
@ -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 /
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue