Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
How_to_Bring_Up_GitLab.pdf
Search
Nestor G Pestelos Jr
October 27, 2016
Technology
0
160
How_to_Bring_Up_GitLab.pdf
Slides from my talk at the Docker Manila meetup (Oct 27, 2016).
Nestor G Pestelos Jr
October 27, 2016
Tweet
Share
More Decks by Nestor G Pestelos Jr
See All by Nestor G Pestelos Jr
Refactoring_with_LightService.pdf
ngpestelos
0
95
Development Using Virtualization
ngpestelos
0
60
Other Decks in Technology
See All in Technology
私たち準委任PdEは2つのプロダクトに挑戦する ~ソフトウェア、開発支援という”二重”のプロダクトエンジニアリングの実践~ / 20260212 Naoki Takahashi
shift_evolve
PRO
2
210
生成AIを活用した音声文字起こしシステムの2つの構築パターンについて
miu_crescent
PRO
3
220
Ruby版 JSXのRuxが気になる
sansantech
PRO
0
170
SREチームをどう作り、どう育てるか ― Findy横断SREのマネジメント
rvirus0817
0
350
SREのプラクティスを用いた3領域同時 マネジメントへの挑戦 〜SRE・情シス・セキュリティを統合した チーム運営術〜
coconala_engineer
2
770
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
3
2.6k
Why Organizations Fail: ノーベル経済学賞「国家はなぜ衰退するのか」から考えるアジャイル組織論
kawaguti
PRO
1
200
20260208_第66回 コンピュータビジョン勉強会
keiichiito1978
0
200
10Xにおける品質保証活動の全体像と改善 #no_more_wait_for_test
nihonbuson
PRO
2
340
Oracle Cloud Observability and Management Platform - OCI 運用監視サービス概要 -
oracle4engineer
PRO
2
14k
22nd ACRi Webinar - NTT Kawahara-san's slide
nao_sumikawa
0
100
予期せぬコストの急増を障害のように扱う――「コスト版ポストモーテム」の導入とその後の改善
muziyoshiz
1
2.1k
Featured
See All Featured
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
170
Believing is Seeing
oripsolob
1
58
Why Our Code Smells
bkeepers
PRO
340
58k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
KATA
mclloyd
PRO
34
15k
How Software Deployment tools have changed in the past 20 years
geshan
0
32k
sira's awesome portfolio website redesign presentation
elsirapls
0
150
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
HDC tutorial
michielstock
1
390
Transcript
How to Bring Up GitLab Nestor Pestelos, Jr. @ngpestelos
None
• GitLab service from scratch (w/ demo) • Tools: terraform,
CoreOS, docker-compose • Services: DigitalOcean, LetsEncrypt tl;dr
Why? • I run a GitLab instance for >1 year
now • Fighting bit rot every day • Config management can only take you so far
Demo • use terraform to bring up a CoreOS host
(w/ DNS) • run a few setup scripts (e.g. letsencrypt) • scp docker-compose.yml • run docker-compose • setup GitLab
gitlab-selfhosted.tf • terraform config DSL • “tell DigitalOcean to spin-up
a host and give it a hostname” • initial DNS config (point to DO name servers)
gitlab-selfhosted.yml • initialize the host using cloud-config • bootstrapping newly
provisioned cloud servers • generate shell scripts
docker-compose.yml • not the standard way to run your own
GitLab • github.com/sameersbn/docker-gitlab • Containers: redis, postgresql, registry, gitlab • Data volume containers • (optional) How to use upgraded images?
Insights • Build generic servers • Image as primary artifact
(multiple images in a single host) • Having long-running servers is OK
Examples • https://goo.gl/P4lGy8 (gitlab-selfhosted.tf) • https://goo.gl/b3CCKX (gitlab-selfhosted.yml) • https://goo.gl/l6ahQO (docker-compose.yml)