This lab has been modernised but not yet verified end to end. Tell us if something breaks.
Modelling Apps with Compose
Lab Solution
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-modelCopy in the sample solution:
cp ./lab/.env .
cp ./lab/compose.yml ./rng/lab.ymlStart the app:
docker compose up -dTry it out at http://localhost:8390
Check API logs:
docker logs rng-lab-rng-api-1Shows the info and debug level logs
Back to the exercises.