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
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
5.5k
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
3
940
Agile Leadership Summit Keynote 2026
m_seki
1
630
Claude_CodeでSEOを最適化する_AI_Ops_Community_Vol.2__マーケティングx_AIはここまで進化した.pdf
riku_423
2
570
30万人の同時アクセスに耐えたい!新サービスの盤石なリリースを支える負荷試験 / SRE Kaigi 2026
genda
4
1.3k
15 years with Rails and DDD (AI Edition)
andrzejkrzywda
0
190
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
68k
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
3
2.5k
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
230
SREのプラクティスを用いた3領域同時 マネジメントへの挑戦 〜SRE・情シス・セキュリティを統合した チーム運営術〜
coconala_engineer
2
660
Frontier Agents (Kiro autonomous agent / AWS Security Agent / AWS DevOps Agent) の紹介
msysh
3
170
2026年、サーバーレスの現在地 -「制約と戦う技術」から「当たり前の実行基盤」へ- /serverless2026
slsops
2
250
Featured
See All Featured
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
93
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
A better future with KSS
kneath
240
18k
Facilitating Awesome Meetings
lara
57
6.8k
Technical Leadership for Architectural Decision Making
baasie
1
240
HDC tutorial
michielstock
1
380
WENDY [Excerpt]
tessaabrams
9
36k
Into the Great Unknown - MozCon
thekraken
40
2.3k
How to make the Groovebox
asonas
2
1.9k
Visualization
eitanlees
150
17k
How to build a perfect <img>
jonoalderson
1
4.9k
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)