Hi, I am trying to follow your tutorial and this one https://docs.docker.com/samples/nginx/#nginxalpine, but I am using docker-compose versión 3 which is a lot different so I am lost, I have django working with gunicorn, my problem is integrating Nginx, I am using this for Nginx

nginx:
image: nginx
ports:
— “80:80”
environment:
— NGINX_HOST=0.0.0.0:80
— NGINX_PORT=80
depends_on:
— web

And my entrypoint.sh file is:

#!/bin/bash
python3 manage.py migrate # Apply database migrations

# Start Gunicorn processes
echo Starting Gunicorn.
exec gunicorn linus.wsgi:application \
— name linus \
— bind 0.0.0.0:80 \
— workers 1 \
— log-level=info \
“$@”

I have seen they use volumes in the docker-compose but I am not sure what volumes is for, I guess is to copy a file or directory from an image to my local.

I hope you can help me with this, I´ll ve very thankful