Git Repositories auf DS214se

Achtung: SSH port wurde auf 60429 geändert !!!

ssh -p 60429 admin@ds214se
cd /volume1/GitRepo/WebSites
git init --bare <repo-name>.git
# Via GUI -> File Station
# sudo chown -R git:users <repo-name>.git/
cd <repo-name>.git
git update-server-info
  • http://blog.osdev.org/git/2014/02/13/using-git-on-a-synology-nas.html
  • https://gist.github.com/walkerjeffd/374750c366605cd5123d

Zugang mittels SSH keys

Auf Desktop:

scp ~/.ssh/id_rsa.pub admin@ds214se:/volume1/homes/git/.ssh

Auf DS214SE:

Wichtig sind die Rechte zum ausführen:

cd /volume1/homes/git/
chown -R git:users .ssh
chmod 711 .ssh
chmod 700 .ssh/authorized_keys

Zugang zu Repositories

#
# Tools
#
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/Tools/es1tool.git
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/Tools/airon-nh.git
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/Tools/camel-demo.git
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/Tools/eventmgr-vaadin.git
 
#
# Themes
#
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/WebSites/pr_tanz-community24.git
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/WebSites/bs_tanzcommunity24.git
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/WebSites/bs_tanzcommunity24-8.git
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/WebSites/ofw_tanz-community24.git
 
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/WebSites/pr_rodeltour.git
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/WebSites/bs_rodeltour.git
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/WebSites/bs_rodeltour8.git
 
#
# Drupal sites
#
cd /var/www
 
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/WebSites/rodeltour8.git
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/WebSites/tanzcommunity24-8.git
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/WebSites/docker-rodeltour.git
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/WebSites/docker-flugstop.git
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/WebSites/docker-makler.git
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/WebSites/docker-rainersimmet.git
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/WebSites/docker-traefik.git
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/WebSites/docker-matomo.git
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/WebSites/docker-sites-all.git
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/WebSites/docker-smartsulting.git

Drupal Sites auf Netcup1

#
# Drupal sites
#
cd /var/www
 
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/WebSites/docker-cristinaruggero.git
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/WebSites/docker-sites1.git
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/WebSites/docker-tangoguide.git
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/WebSites/docker-tc24.git
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/WebSites/docker-tanzcommunity8.git
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/WebSites/docker-sites-all.git

Mailserver auf Netcup1

#
# Mailserver
#
cd /var/www
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/WebSites/docker-mailserver.git

Angular Projekte

#
# Angular Projekte
#
cd ~/Entwicklung
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/Angular/ng-rodeltour.git
git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/Angular/ng-tc24.git

Spezielle Repos

git clone ssh://git@192.168.0.111:60429/volume1/GitRepo/Dokumente/Bewerbung.git

Git Zugangsdaten speichern

https://gist.github.com/walkerjeffd/374750c366605cd5123d