Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Redmine on Docker
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
ohto
May 17, 2018
Technology
190
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Redmine on Docker
Redmine service on Docker
ohto
May 17, 2018
Transcript
15 slides
Docker 使ってみた 2018/5/18 おおとや
おおとや 趣味 – 数学とか – アニメとか 2 / 15
おことわり 前職でやったことです – 今の仕事とは関係ないです 3 / 15
Docker 使おう! 4 / 15
背景 状況 – 社内向けにRedmine をサービスしてた 要求 – (カネをかけずに) 速度を上げたい –
開発環境が欲しい – 参照用DBが欲しい – バージョンアップしたい 5 / 15
古き時代 構成 – Apache (+ passenger) – Redmine – PostgreSQL
6 / 15
スループットを上げる 構成 – Nginx – Puma – Redmine – Redis
– PostgreSQL 7 / 15 スレッド化 キャッシュ
Docker 化 目的 – 環境から引き剥がす – 構成を容易にする 方法 – as
a code (+Git管理) – 設定ファイルは外出し – 永続ファイルは外出し 8 / 15 Docker Docker Docker Docker
Docker 化 -課題 速度劣化 – コンテナ間ネットワーク – 静的コンテンツ 9 /
15 ネットワーク 参照できない 静的コンテンツ
Docker 化 -解決策 コンテナ間ネットワーク – Unix ソケット 静的コンテンツ – マウントによる外出し
起動スクリプト – コンテナ内外で分離 10 / 15 ソケット結合 外出し 参照
Docker 化 -横展開 -開発用 目的 – 開発用として用いる 方法 – Git
clone & Build & run 11 / 15
Docker 化 -横展開 -参照用DB 目的 – DB負荷を減らす 方法 – PostgreSQLイメージから派生
– 起動スクリプトを作成 12 / 15 参照用DB
Docker 化 -横展開 -Redmine ver. up 目的 – Redmine ver.
up – 検証目的としてユーザに公開 方法 – Git clone – Redmine ver. up – 検証 – ユーザに公開 13 / 15
まとめ • 構成の変更による速度改善 • Docker 化による構成のコード化 • 横展開によるサービスの拡充 14 /
15
Docker 使おう! 15 / 15
More Decks by ohto
See All by ohto
speed cube
ohto
1
150
Living a Software Engineer
ohto
0
120
Ruby de FizzBuzz
ohto
0
120
enjoy your dream
ohto
0
140
We may be win a computer
ohto
0
1.3k
Things that computers can not do
ohto
0
150
Arbitrariness for Classification
ohto
0
1.3k
mumbling about data mining
ohto
0
2.6k
Other Decks in Technology
See All in Technology
Context parameters で作る!はじめての型クラス
kworkdev
PRO
1
180
AI-Ready なデータ基盤ってなに? & 新卒未経験が、いま考えていること
imuta
0
1.1k
Kiro のリモートワークスペース: IDE は手元のままで、ワークスペースをクラウド、コンテナ、自前のマシンに置く
inariku
PRO
1
200
常時稼働エージェントの作り方(Claude公式ブログを資料化)
minorun365
PRO
20
29k
こんなに変わった! AWSネットワークの常識
shotashiratori
16
12k
Test Impact Analysis を武器に立ち向かう、AI 時代のテスト増加に対するヌーラボのアプローチ / getting-started-datadog-test-impact-analysis
k6s4i53rx
3
420
Is the Website Dying?
miriamschwab
0
180
MCPでネットワーク障害調査を自動化する前に直すべき3つのこと
yama3133
1
670
OpenTelemetryで変わった 新時代のCloudWatchメトリクス監視
tsukuboshi
0
510
[NW-JAWS DAY]「うちのAWS、インターネット出られないんで」― AWS外の自社サービスをPrivateLinkでシュッと公開する方法
ykimi
3
930
Taking back control of your AI development
inesmontani
PRO
0
310
Metadata - Section 4 : MODS (Metadata Object Description Schema )
mohab1
0
120
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
77
5.7k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
48k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.3k
How Software Deployment tools have changed in the past 20 years
geshan
3
35k
Designing for Performance
lara
612
70k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.9k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.4k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
3k
The Language of Interfaces
destraynor
162
27k
Raft: Consensus for Rubyists
vanstee
143
7.9k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
380