.
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
3eee39b62a
commit
33606e1f66
|
@ -1,4 +1,5 @@
|
||||||
FROM gitea/gitea:latest
|
FROM gitea/gitea:latest
|
||||||
COPY app.ini /init/
|
COPY app.ini /init/
|
||||||
|
COPY ./templates /init/templates
|
||||||
COPY run.sh /
|
COPY run.sh /
|
||||||
CMD ["sh", "/run.sh"]
|
CMD ["sh", "/run.sh"]
|
|
@ -1,2 +1,8 @@
|
||||||
envsubst < /init/app.ini > /data/gitea/conf/app.ini
|
envsubst < /init/app.ini > /data/gitea/conf/app.ini
|
||||||
|
|
||||||
|
for file in /init/templates
|
||||||
|
do
|
||||||
|
envsubst < "/init/templates/$file" > "/data/gitea/templates/$file"
|
||||||
|
done
|
||||||
|
|
||||||
/bin/s6-svscan /etc/s6
|
/bin/s6-svscan /etc/s6
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
{{template "base/head" .}}
|
||||||
|
<div class="home">
|
||||||
|
<div class="ui stackable middle very relaxed page grid">
|
||||||
|
<div class="sixteen wide center aligned centered column">
|
||||||
|
<div>
|
||||||
|
<img class="logo" src="{{StaticUrlPrefix}}/img/gitea-lg.png" />
|
||||||
|
</div>
|
||||||
|
<div class="hero">
|
||||||
|
<h1 class="ui icon header title">
|
||||||
|
{{AppName}}
|
||||||
|
</h1>
|
||||||
|
<h2>${DESCRIPTION}</h2>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{template "base/footer" .}}
|
Reference in New Issue