Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ひたすら楽して、PHPアプリをコンテナ運用の縮小版

NIIKURA Ryota
November 06, 2017

 ひたすら楽して、PHPアプリをコンテナ運用の縮小版

PHPカンファレンス関西でやったやつの縮小版です

NIIKURA Ryota

November 06, 2017
Tweet

More Decks by NIIKURA Ryota

Other Decks in Technology

Transcript

  1. ӡ༻ʹؔΘΔλεΫϦετ w ίʔυΛॻ͘ w (JUͰϓογϡ͢Δ w ίʔυ͔Βಈ࡞؀ڥͷίϯ ςφΠϝʔδΛϏϧυ͢Δ w ίϯςφΠϝʔδΛϨδε

    τϦʹϓογϡ w ΞϓϦέʔγϣϯͱͯ͠ಈ ࡞͢ΔΑ͏ɺίϯςφΛαʔ ό্ʹ഑ஔ w ϩʔυόϥϯαͱίϯς φΛͭͳ͛Δ w ίϯςφͷࢮ׆؂ࢹΛߦ ͏ w ίϯςφ͕ࢮΜͰ͍ͨΒ৽ ͘͠ίϯςφΛىಈ͢Δ w ෛՙ͕େ͖͘ͳͬͨΒε έʔϧΞ΢τɺෛՙ͕ݮগ ͨ͠Βεέʔϧμ΢ϯ
  2. &$4

  3. /HJOY QIQ GQN ίϯςφΠϯελϯε &$ /HJOY QIQ GQN λεΫ Ϋϥελʔ

    "-# UBSHFU HSPVQ αʔϏε &$3 "; QIQ GQN QIQ GQN جຊతʹݟΔͷ͸͚ͩ͜͜
  4. ӡ༻ʹؔΘΔλεΫϦετ w ίʔυΛॻ͘ w (JUͰϓογϡ͢Δ w ίʔυ͔Βಈ࡞؀ڥΛίϯ ςφΠϝʔδΛϏϧυ͢Δ w ίϯςφΠϝʔδΛϨδε

    τϦʹϓογϡ w ΞϓϦέʔγϣϯͱͯ͠ಈ ࡞͢ΔΑ͏ɺίϯςφΛαʔ ό্ʹ഑ஔ w ϩʔυόϥϯαͱίϯς φΛͭͳ͛Δ w ίϯςφͷࢮ׆؂ࢹΛߦ ͏ w ίϯςφ͕ࢮΜͰ͍ͨΒ৽ ͘͠ίϯςφΛىಈ͢Δ w ෛՙ͕େ͖͘ͳͬͨΒε έʔϧΞ΢τɺෛՙ͕ݮগ ͨ͠Βεέʔϧμ΢ϯ
  5. (JU-BC$* w (JU-BCʹ૊Έࠐ·Εͨ$* w ίϯςφϕʔεͰ࡞ۀͰ͖Δ w ϨδετϦ΋͋Δ &$4Ͱ͸׆༻Ͱ͖ͳ͔ͬͨ  w

    4BB4൛͸ͨ·ʹ΍Β͔͢
 IUUQTBCPVUHJUMBCDPNHJUMBC EPUDPNEBUBCBTFJODJEFOU
  6. NBTUFSQVTI PSNFSHF UBHQVTI &$3 ։ൃ؀ڥ λεΫ ։ൃ؀ڥαʔ Ϗε ຊ൪؀ڥ λεΫ

    ຊ൪؀ڥαʔ Ϗε $* ΠϝʔδϏϧυ ϓογϡ λεΫߋ৽ αʔϏεߋ৽ λεΫߋ৽ αʔϏεߋ৽
  7. ӡ༻ʹؔΘΔλεΫϦετ w ίʔυΛॻ͘ w (JUͰϓογϡ͢Δ w ίʔυ͔Βಈ࡞؀ڥΛίϯ ςφΠϝʔδΛϏϧυ͢Δ w ίϯςφΠϝʔδΛϨδε

    τϦʹϓογϡ w ΞϓϦέʔγϣϯͱͯ͠ಈ ࡞͢ΔΑ͏ɺίϯςφΛαʔ ό্ʹ഑ஔ w ϩʔυόϥϯαͱίϯς φΛͭͳ͛Δ w ίϯςφͷࢮ׆؂ࢹΛߦ ͏ w ίϯςφ͕ࢮΜͰ͍ͨΒ৽ ͘͠ίϯςφΛىಈ͢Δ w ෛՙ͕େ͖͘ͳͬͨΒε έʔϧΞ΢τɺෛՙ͕ݮগ ͨ͠Βεέʔϧμ΢ϯ