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
180
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
140
Living a Software Engineer
ohto
0
100
Ruby de FizzBuzz
ohto
0
110
enjoy your dream
ohto
0
130
We may be win a computer
ohto
0
1.2k
Things that computers can not do
ohto
0
140
Arbitrariness for Classification
ohto
0
1.2k
mumbling about data mining
ohto
0
2.6k
Other Decks in Technology
See All in Technology
OCI技術資料 : ロード・バランサ 概要 - FLB・NLB共通
ocise
4
27k
Embeddings : Symfony AI en pratique
lyrixx
0
420
【Oracle Cloud ウェビナー】データ主権はクラウドで守れるのか?NTTデータ様のOracle Alloyで実現するソブリン対応クラウドの最適解
oracle4engineer
PRO
3
120
スケーリングを封じられたEC2を救いたい
senseofunity129
0
120
Change Calendarで今はOK?を仕組みにする
tommy0124
1
130
Oracle Cloud Infrastructure(OCI):Onboarding Session(はじめてのOCI/Oracle Supportご利⽤ガイド)
oracle4engineer
PRO
2
17k
FlutterでPiP再生を実装した話
s9a17
0
230
Navigation APIと見るSvelteKitのWeb標準志向
yamanoku
2
130
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
10
76k
Zephyr(RTOS)でOpenPLCを実装してみた
iotengineer22
0
150
GitHub Advanced Security × Defender for Cloudで開発とSecOpsのサイロを超える: コードとクラウドをつなぐ、開発プラットフォームのセキュリティ
yuriemori
1
110
AI時代のオンプレ-クラウドキャリアチェンジ考
yuu0w0yuu
0
620
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Embracing the Ebb and Flow
colly
88
5k
The Invisible Side of Design
smashingmag
302
51k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
190
Information Architects: The Missing Link in Design Systems
soysaucechin
0
850
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.2k
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