Date post: | 15-Aug-2015 |
Category: |
Documents |
Upload: | haufe-lexware-gmbh-co-kg |
View: | 127 times |
Download: | 0 times |
HAUFE AKADEMIEDOCKER + AVENDOO
Karsten Gaebert, 6. May 2015
15.04.2023 Karsten Gaebert
AGENDA
1. About Avendoo
2. Why Docker?
3. Avendoo “dockerized”
4. Factory pattern
5. Deeper look into the git repository + sourcecode
6. Docker, machine and compose “in action” (screenshots)
Seite 2
15.04.2023 Karsten Gaebert
AVENDOO
1. Application for managing and publishing e-trainings
2. Developed by external Company (Magh & Boppert / Paderborn)
3. Customized and extended for the Haufe Akademie
Seite 3
15.04.2023 Karsten Gaebert
AVENDOO SERVERS
Seite 4
Avendoo KFF(Offenes Progr.)
Haufe Shop
Inhouse Trainings
Closed company user groups
Avendoo login
Avendoo ZU(Inhouse)
Avendoo(Company C)
Avendoo(Company B)
Avendoo(Company A)
Haufe Shop
HGSP Login
Aka-Integration
API Company specific content
Company domain
Company login
15.04.2023 Karsten Gaebert
Diff
eren
ces
Test 2
Test 3DEV 3
DEV 2
ENVIRONMENTS
Seite 5
DEV 1 Test 1 Staging A Production A
Staging B Production B
DEV 4
Developers
Features
Content
CI
Releases
Features
APIs Servers
Customers
Version
15.04.2023 Karsten Gaebert
TomcatTomcat
AVENDOO
Seite 6
mysql
ApacheWebserver
Tomcat
Avendoo
15.04.2023 Karsten Gaebert
AVENDOO DOCKERIZED
Seite 7
ApacheWebserver
Tomcat
Docker Base
Java
mysql
mysqldata
Avendoosecrets
Selenium Nagios
Seleniuminit
Seleniumtests
Nagiosenv
Nagiosapp
Docker Images
15.04.2023 Karsten Gaebert
DOCKER FACTORY PATTERN
Seite 8
DEV Test Staging ProductionFactory
Registry
Push versioned Im
ages
Build ImagesDockerfileCompose
ApplicationDevelopmentMachineComposeImages:latestVolumesGit push
ApplicationtestsMachineComposeImages:versioned
IntegrationtestsMachineComposeImages:versionedMultiple Hosts
LiveComposeImages:versionedMultiple Hosts
15.04.2023 Karsten Gaebert
GIT REPOSITORY VIEW
Seite 9
15.04.2023 Karsten Gaebert
GIT REPOSITORY VIEW
Seite 10
15.04.2023 Karsten Gaebert
BUILD ALL IMAGES
Seite 11
Time to build all images: ~ 7 Minutes
15.04.2023 Karsten Gaebert
CREATE NEW SERVER – DOCKER MACHINE
Seite 12
Configure new Server Host
Run docker-machine to create a new VM in Azure(duration ~ 7 minutes)
List all VMs currently runnning
15.04.2023 Karsten Gaebert
SETUP THE NEW VM
Seite 13
No imgages on this new VM right now
Set new VM as active and list images
15.04.2023 Karsten Gaebert
PULL IMAGES – DOCKER COMPOSE
Seite 14
15.04.2023 Karsten Gaebert
APPLICATION IS READY
Seite 15