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
Redmine on Docker
Search
ohto
May 17, 2018
Technology
0
160
Redmine on Docker
Redmine service on Docker
ohto
May 17, 2018
Tweet
Share
More Decks by ohto
See All by ohto
speed cube
ohto
1
110
Living a Software Engineer
ohto
0
91
Ruby de FizzBuzz
ohto
0
91
enjoy your dream
ohto
0
110
We may be win a computer
ohto
0
1.1k
Things that computers can not do
ohto
0
120
Arbitrariness for Classification
ohto
0
1.1k
mumbling about data mining
ohto
0
2.5k
Other Decks in Technology
See All in Technology
BLEAでAWSアカウントのセキュリティレベルを向上させよう
koheiyoshikawa
0
120
一人から始めたSREチーム3年の歩み - 求められるスキルの変化とチームのあり方 - / The three-year journey of the SRE team, which started all by myself
vtryo
7
5.7k
Grafanaのvariables機能について
tiina
0
180
CloudWatch Container Insightsを使ったAmazon ECSのリソース監視
umekou
1
120
Amazon Aurora バージョンアップについて、改めて理解する ~バージョンアップ手法と文字コードへの影響~
smt7174
1
240
NOSTR, réseau social et espace de liberté décentralisé
rlifchitz
0
130
インシデントキーメトリクスによるインシデント対応の改善 / Improving Incident Response using Incident Key Metrics
nari_ex
0
3.9k
Oracle Cloud Infrastructure:2025年1月度サービス・アップデート
oracle4engineer
PRO
0
180
第27回クラウド女子会 ~re:Invent 振り返りLT会~ 宣言型ポリシー、使ってみたらこうだった!
itkr2305
0
290
生成AIを活用した機能を、顧客に提供するまでに乗り越えた『4つの壁』
toshiblues
1
210
Creative Pair
kawaguti
PRO
1
130
現実的なCompose化戦略 ~既存リスト画面の置き換え~
sansantech
PRO
0
160
Featured
See All Featured
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
192
16k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.3k
VelocityConf: Rendering Performance Case Studies
addyosmani
327
24k
Become a Pro
speakerdeck
PRO
26
5.1k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.3k
How GitHub (no longer) Works
holman
312
140k
Embracing the Ebb and Flow
colly
84
4.5k
A Tale of Four Properties
chriscoyier
157
23k
Designing Experiences People Love
moore
139
23k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
600
Transcript
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