$30 off During Our Annual Pro Sale. View Details »
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
130
Living a Software Engineer
ohto
0
100
Ruby de FizzBuzz
ohto
0
100
enjoy your dream
ohto
0
130
We may be win a computer
ohto
0
1.2k
Things that computers can not do
ohto
0
130
Arbitrariness for Classification
ohto
0
1.2k
mumbling about data mining
ohto
0
2.6k
Other Decks in Technology
See All in Technology
Security Diaries of an Open Source IAM
ahus1
0
120
たかが特別な時間の終わり / It's Only the End of Special Time
watany
23
5.3k
生成AI時代の自動E2Eテスト運用とPlaywright実践知_引持力哉
legalontechnologies
PRO
0
160
Introduction to Bill One Development Engineer
sansan33
PRO
0
330
プロダクトマネジメントの分業が生む「デリバリーの渋滞」を解消するTPMの越境
recruitengineers
PRO
3
530
Agentic AI Patterns and Anti-Patterns
glaforge
1
120
計算機科学をRubyと歩む 〜DFA型正規表現エンジンをつくる~
ydah
3
110
手動から自動へ、そしてその先へ
moritamasami
0
240
AI時代におけるアジャイル開発について
polyscape_inc
0
110
GitLab Duo Agent Platformで実現する“AI駆動・継続的サービス開発”と最新情報のアップデート
jeffi7
0
180
useEffectってなんで非推奨みたいなこと言われてるの?
maguroalternative
9
6.3k
AI駆動開発によるDDDの実践
dip_tech
PRO
0
300
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
72
12k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.2k
GraphQLとの向き合い方2022年版
quramy
50
14k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.8k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
69k
Bash Introduction
62gerente
615
210k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
The Cost Of JavaScript in 2023
addyosmani
55
9.3k
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