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
150
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
79
Development Using Virtualization
ngpestelos
0
51
Other Decks in Technology
See All in Technology
複雑な構成要素を持つUIとの向き合い方 〜新・支出グラフでの実例〜 / B43 TECH TALK
nakamuuu
0
140
一生覚えておきたい「システム開発=コミュニケーション」〜初めての実務案件振り返りLT〜
maimyyym
1
160
TechFeed Experts Night#27 〜 フロントエンドフレームワーク最前線 (Svelte)
baseballyama
1
540
Tellus の衛星データを見てみよう #mf_fukuoka
kongmingstrap
0
210
FrontDoorとWebAppsを組み合わせた際のリダイレクト処理の注意点
kenichirokimura
1
530
自己改善からチームを動かす! 「セルフエンジニアリングマネージャー」のすゝめ
shoota
6
780
GraphQL 成熟度モデルの紹介と、プロダクトに当てはめた事例 / GraphQL maturity model
mh4gf
7
1.3k
生成AIの変革の時代に、直近1年で直面した課題とその解決策
ktc_wada
0
310
Além do else! Categorizando Pokemóns com Pattern Matching no JavaScript
wmsbill
0
640
KubeConにproposalを送りたい人へのアドバイス
sat
PRO
3
260
Meta Quest 3 で動く桜マシマシ WebXR アプリを IBM Cloud Code Engine と Babylon.js で作った話
1ftseabass
PRO
0
120
web-application-security
matsuihidetoshi
0
170
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
155
14k
Testing 201, or: Great Expectations
jmmastey
28
6.4k
Building an army of robots
kneath
300
41k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
241
1.2M
The Cost Of JavaScript in 2023
addyosmani
16
3.9k
Typedesign – Prime Four
hannesfritz
36
2.1k
4 Signs Your Business is Dying
shpigford
175
21k
No one is an island. Learnings from fostering a developers community.
thoeni
16
2.1k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
Visualization
eitanlees
136
14k
Imperfection Machines: The Place of Print at Facebook
scottboms
260
12k
RailsConf 2023
tenderlove
4
540
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)