0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 12:14:08 +01:00

Docker repository path backward compatibility fix:

- resolve #1765
- create link to old git repository path: `/home/git/gogs-repository`
This commit is contained in:
Jean-Philippe Roemer 2015-10-12 21:28:26 +01:00
parent 575300cd57
commit bfed40eec4

View file

@ -12,7 +12,11 @@ fi
cd /app/gogs cd /app/gogs
# Link volumed data with app data
ln -sf /data/gogs/log ./log ln -sf /data/gogs/log ./log
ln -sf /data/gogs/data ./data ln -sf /data/gogs/data ./data
# Backward Compatibility with Docker v0.6.15
ln -sf /data/git /home/git
chown -R git:git /data /app/gogs ~git/ chown -R git:git /data /app/gogs ~git/