index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
docker
/
s6
/
gogs
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'docker/s6/gogs')
-rwxr-xr-x
docker/s6/gogs/setup
4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/s6/gogs/setup b/docker/s6/gogs/setup
index 8c09ff74..e64a36d6 100755
--- a/
docker/s6/gogs/setup
+++ b/
docker/s6/gogs/setup
@@ -12,7 +12,11 @@ fi
cd /app/gogs
+# Link volumed data with app data
ln -sf /data/gogs/log ./log
ln -sf /data/gogs/data ./data
+# Backward Compatibility with Gogs Container v0.6.15
+ln -sf /data/git /home/git
+
chown -R git:git /data /app/gogs ~git/