Hellow guys. Can somebody help with this task:
docker-compose.ymlfile which will describe the following system of 2 services:
- Nginx container, make sure it’s logs are stored in docker volume and mount http port to some port described as variable in compose environment file
- Container created from simple busybox-based image which will output some line every 5 seconds. Make sure the volume with nginx logs is mounted into this container as well.
I did that but I feel something wrong with volumes and I should do it without deploy.