[精讚] [會員登入]
118

testing gitlab and jenkins CI/CD on docker-1

在docker架設gitlab, jenkins 測試CI/CD pipeline第一章

分享此文連結 //n.sfs.tw/15908

分享連結 testing gitlab and jenkins CI/CD on docker-1@外行中的外行
(文章歡迎轉載,務必尊重版權註明連結來源)
2022-07-25 13:06:42 最後編修
2022-07-25 13:04:59 By jung
 

好不容易搞定yml

把gitlab和jenkins做成docker container

以下紀錄二個卡關地點

1. gitlab container無法做8080內部轉埠

在yml寫8080:80想把gitlab轉到容器外部的8080是失敗的

只好乖乖先用80

2. gitlab初始帳密無法取得

必須進到容器執行指令

docker -it xxxx /bin/sh 進到容器

切換到/etc/gitlab目錄

執行:gitlab-rake "gitlab:password:reset[root]"

等待回應會要求輸入新密碼,完成後才能在gitlab前端網頁登入

https://stackoverflow.com/questions/60062065/gitlab-initial-root-password

這篇才是對的

 

 

END

你可能感興趣的文章

如何用git log功能產生有固定格式的commit紀錄 how to create a git commit history log file with custom format

在intellij IDEA解決檔案內容顯示為UTF-8字碼而不是中文的問題 how to show correct language content of file, instead of utf-8 encoded charactors

在IDEA從JDK8升級到JDK11遇到的奇怪問題 在IDEA遇到的JAVA11函式庫引入問題

how to make wicket web application runs under docker enviorment with correct encoding 在docker環境下,wicket web application 編碼錯誤的問題

[NetBeans]如何從git下載專案改建為自己的專案 修改git專案

intellij IDEA git設定說明 whenever using git push fuction in the intellij IDEA

<<此文不開放留言>>

隨機好文

[java]縣市IDP建置 使用NetBeans建置IDP程式

centos7 apache ssl.conf設定狀況 在apache更新或重啟後可能遇到ssl.conf衝突問題

更新IDP程式以新增及修正本地管理帳號登入 add locallogin page and function with local authorized account

how to stop wildfly keeping standalone server log how to stop wildfly keeping standalone server log

在ubuntu18.04桌面版安裝中文注音輸入法 如何在ubuntu桌面使用新酷音注音輸入法