Geri

Docker Laboratuvarları — Çözüm

Compose ile Uygulama Modellemek

45 dkGereksinim: docker

Bu sayfa henüz Türkçeye çevrilmedi, bu yüzden İngilizce metin gösteriliyor.

The lab model for the app just sets new ports and uses the existing dev config files:

The Compose env file sets a project name and default files - using the core and the lab override:

Switch to the lab folder:

cd labs/compose-model

Copy in the sample solution:

cp ./lab/.env .
cp ./lab/compose.yml ./rng/lab.yml

Start the app:

docker compose up -d

Try it out at http://localhost:8390

Check API logs:

docker logs rng-lab-rng-api-1

Shows the info and debug level logs

Back to the exercises.

Kaynağı GitHub'da gör