Explorar el Código

Merge pull request #1766 from 0rax/develop

Docker repository path backward compatibility fix
无闻 hace 9 años
padre
commit
5c6df9f31b
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      docker/s6/gogs/setup

+ 4 - 0
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/