100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Theorie samenvatting BS2 $4.28   Add to cart

Summary

Theorie samenvatting BS2

 1 view  0 purchase
  • Course
  • Institution

Theorie samenvatting BS2

Preview 2 out of 9  pages

  • January 17, 2023
  • 9
  • 2021/2022
  • Summary
avatar-seller
LABO 1: DOCKER (op pc labo) (theorie: Docker)

Docker image maken → Dockerfile nodig




Container starten met image

Docker Compose → voor beschrijven van micro architecturen → docker-compose.yml
(🡪 stack 🡪 editor staat compose file)




🡪 worden 2 containers aangemaakt
- Database-container 🡪
o met volume 🡪moest container crashen, de data niet verloeren gaat doordat
er een kopie op de host staat
o met restart 🡪 always 🡪 moest container crashen 🡪 automatisch nieuwe
gemaakt
- Wordpress-container
o Met depends_on 🡪 zegt dat db-container moet bestaan voordat wordpress
mag starten
o DB_HOST 🡪 staat ‘db:3306’ 🡪 ‘db’ verwijst naar andere container 🡪 mogelijk
omdat Docker achterliggend zijn eigen netwerk met DNS gebruikt
Dus geen zorgen over ip container

, LABO 2: CONTAINER ORCHESTRATION (op pc)

Naam Voornaam User Id VPN-server IP Forward IP Forward Start port: SSH
Forward End port
Braem Marlene r0697468 10.30.0.251 193.191.177.8 11510
11519



Opstarten

$ ssh -p 11510 user1@193.191.177.8

passwoord : Peutie64


193.191.177.8:11511
= surfen op google voor server
- username = marlene
- Peutie64




OEF 2: Wordpress opstarten
🡪 stacks 🡪 docker-compose.yml (van hierboven)

--> poorten zijn pas vanaf poort 9001 beschikbaar --> port "8000:80"
--> aanpassen naar een poort vanaf de 9001 --> andere zijn al in gebruik
=> dus poort “9002:80”


=> checken of het werkt --> surfen naar http://193.191.177.8:11512/

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller marlenebraem. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $4.28. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

72042 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$4.28
  • (0)
  Add to cart