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

Ich will doch nur coden!

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →
Nicolas Byl
September 14, 2016

Ich will doch nur coden!

Nicolas Byl

September 14, 2016

Transcript

21 slides
  1. 1 . 1 ICH WILL DOCH NUR CODEN! Entwicklungsumgebungen für

    verteilte Systeme mit docker - compose und ottoproject .io Nicolas Byl , codecentric AG
  2. 1 . 2 Me , Myself & ... Nicolas Byl

    Consultant codecentric AG @NicolasByl
  3. 3 . 2 Prin zipien Convention -over -Con figuration Applikation

    mit Abhängigkeiten beschreiben Entwicklungsumgebung & Produktionsinfrastruktur Spe zialisierte T ools (Vagrant , Packer , T erraform , ...)
  4. 3 . 3 App file a p p l i

    c a t i o n { n a m e = " e x a m p l e " t y p e = " r u b y " d e p e n d e n c y { s o u r c e = " g i t h u b . c o m / h a s h i c o r p / o t t o / e x a m p l e s / m o n g o d b " } } c u s t o m i z a t i o n { r u b y _ v e r s i o n = " 2 . 0 " }
  5. 3 . 4 Lifecycle $ o t t o c

    o m p i l e # o t t o $ o t t o d e v # V a g r a n t [ . . . ] $ o t t o i n f r a # T e r r a f o r m $ o t t o b u i l d # P a c k e r $ o t t o d e p l o y # N o m a d
  6. 4 . 3 Was ist docker -compose ? Orchestrierung von

    Docker Containern Docker Engine Swarm Deployment von abhängigen Containern
  7. 4 . 4 docker -compose .yml v e r s

    i o n : ' 2 ' s e r v i c e s : d b : i m a g e : m y s q l : 5 . 7 e n v i r o n m e n t : ­ M Y S Q L _ U S E R = r o o t ­ M Y S Q L _ A L L O W _ E M P T Y _ P A S S W O R D = y e s w e b : b u i l d : a p p p o r t s : ­ 8 0 8 0 : 8 0 8 0 l i n k s : ­ d b d e p e n d s _ o n : ­ d b
  8. 4 . 5 docker -compose -production .yml v e r

    s i o n : ' 2 ' s e r v i c e s : d b : e x t e n d s : f i l e : d o c k e r ­ c o m p o s e . y m l s e r v i c e : d b e n v i r o n m e n t : ­ M Y S Q L _ U S E R = r o o t ­ M Y S Q L _ P A S S O W R D = r o o t 0 1 ­ M Y S Q L _ D A T A B A S E = f r o n t e n d w e b : e x t e n d s : f i l e : d o c k e r ­ c o m p o s e . y m l s e r v i c e : w e b
  9. 4 . 6 Lifecycle d o c k e r

    ­ c o m p o s e u p ­ d d o c k e r ­ c o m p o s e p s d o c k e r ­ c o m p o s e l o g s d b d o c k e r ­ c o m p o s e d o w n
  10. 4 . 7 Abhängigkeiten d e p e n d

    s _ o n https ://github .com /jwilder /dockeri ze https ://github .com /vishnubob /wait -for - it
  11. 4 . 8 Was ist docker -compose nicht ? Kon

    figurationsmanager Build T ool
  12. 4 . 9 Build Integration Maven : (Exec Maven Plugin

    ) Gradle https ://github .com /avast /docker -compose -gradle - plugin https ://github .com /nbyl /gradle -compound -plugin

More Decks by Nicolas Byl

Other Decks in Technology