Skip to content

Commit bfed40e

Browse files
committed
Docker repository path backward compatibility fix:
- resolve gogs#1765 - create link to old git repository path: `/home/git/gogs-repository`
1 parent 575300c commit bfed40e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docker/s6/gogs/setup

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ fi
1212

1313
cd /app/gogs
1414

15+
# Link volumed data with app data
1516
ln -sf /data/gogs/log ./log
1617
ln -sf /data/gogs/data ./data
1718

19+
# Backward Compatibility with Docker v0.6.15
20+
ln -sf /data/git /home/git
21+
1822
chown -R git:git /data /app/gogs ~git/

0 commit comments

Comments
 (0)