Browse Source

Docker repository path backward compatibility fix:

- resolve #1765
- create link to old git repository path: `/home/git/gogs-repository`
for-closed-social
Jean-Philippe Roemer 9 years ago
parent
commit
bfed40eec4
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      docker/s6/gogs/setup

+ 4
- 0
docker/s6/gogs/setup 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/

Loading…
Cancel
Save