~/hello has a spec but no compose file yet. Read the spec:
Create compose.yaml in the editor panel:
yaml
services:
web:
image: nginx:1.27
ports:
- "8080:80"
cache:
image: redis:7.4Save, then start the stack and check it:
sh
docker compose up -d
docker compose ps
curl -s localhost:8080cache has no published port. Reach it from inside the project:
Answer the two questions from the up and ps output. Then remove what Compose created: