Код: Выделить всё
services:
client:
build: client/.
ports:
- "5173:5173"
networks:
- backend
environment:
- VITE_HOST=192.168.0.147 ##
Подробнее здесь: [url]https://stackoverflow.com/questions/79324556/replace-hard-coded-ip-address-with-something-else-in-docker-compose-on-linux[/url]
Мобильная версия