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
JSON攻略法.pdf
miyakemito
8
5.2k
Autonomous Database Cloud 技術詳細 / adb-s_technical_detail_jp
oracle4engineer
PRO
14
35k
Azureの基本的な権限管理の勉強会
yhana
1
1.9k
一生覚えておきたい「システム開発=コミュニケーション」〜初めての実務案件振り返りLT〜
maimyyym
2
250
Kernel MemoryでAzure OpenAI Serviceとお手軽データソース連携
mitsuzono
1
270
BPStudyの200回を中心にIT業界を振り返る。そしてこれから
haru860
3
380
ServiceNow Knowledge Learning Rise up
manarobot
0
230
require(ESM)とECMAScript仕様
uhyo
4
940
Python と Snowflake はズッ友だょ!~ Snowflake の Python 関連機能をふりかえる ~
__allllllllez__
2
140
実例で紹介するRAG導入時の知見と精度向上の勘所
yamahiro
4
1.2k
推しは推せるときに推せ! プロダクトにフィードバックしていこう
nakasho
0
450
「スニダン」開発組織の構造に込めた意図 ~組織作りはパッションや政治ではない!~
rinchsan
4
600
Featured
See All Featured
Fontdeck: Realign not Redesign
paulrobertlloyd
76
4.9k
[RailsConf 2023] Rails as a piece of cake
palkan
27
4k
In The Pink: A Labor of Love
frogandcode
138
21k
How to train your dragon (web standard)
notwaldorf
74
5.2k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
10 Git Anti Patterns You Should be Aware of
lemiorhan
649
58k
A better future with KSS
kneath
231
16k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
The Invisible Customer
myddelton
114
12k
Building an army of robots
kneath
300
41k
VelocityConf: Rendering Performance Case Studies
addyosmani
321
23k
Bash Introduction
62gerente
605
210k
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)