Created
October 4, 2018 08:43
-
-
Save hsmnzaydn/c1799d388178d5510d6a9f231e602519 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo docker run \ | |
--hostname localhost \ --> "localhost" yerine sunucu adresinizi yazın | |
--publish 443:443 --publish 80:80 --publish 20:20 \ --> "80:80" gitlab'ın çalışacağı portu belirliyoruz | |
--name gitlab \ | |
--restart always \ --> Eğer gitlab durursa otomatik kendiliğinden yeniden açılsın diye kullanılıyor | |
--volume /srv/gitlab/config:/etc/gitlab \ | |
--volume /srv/gitlab/logs:/var/log/gitlab \ | |
--volume /srv/gitlab/data:/var/opt/gitlab \ --> Tüm voluma işlemleri docker imajını kapatsanız bile tekrar açtığınızda verileri kaybetmeyin diye var | |
gitlab/gitlab-ce:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment