mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
config: set backup path to /home/git/data/backups, removed symlink
This commit is contained in:
parent
0d589f2787
commit
5fb28f00cc
@ -202,7 +202,7 @@ production: &base
|
||||
|
||||
## Backup settings
|
||||
backup:
|
||||
path: "tmp/backups" # Relative paths are relative to Rails.root (default: tmp/backups/)
|
||||
path: "/home/git/data/backups" # Relative paths are relative to Rails.root (default: tmp/backups/)
|
||||
keep_time: {{GITLAB_BACKUP_EXPIRY}} # default: 0 (forever) (in seconds)
|
||||
|
||||
## GitLab Shell settings
|
||||
|
||||
@ -63,10 +63,6 @@ sudo -u git -H ln -s /home/git/data/tmp/public/assets public/assets
|
||||
rm -rf public/uploads
|
||||
sudo -u git -H ln -s /home/git/data/uploads public/uploads
|
||||
|
||||
# create symlink to backups directory
|
||||
rm -rf tmp/backups
|
||||
sudo -u git -H ln -s /home/git/data/backups tmp/backups
|
||||
|
||||
# create production log
|
||||
sudo -u git -H touch log/production.log
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user