docker run \
--restart unless-stopped \
--name nginx \
-d -p 8080:80 \
-v /home/$USER/env/nginx:/usr/share/nginx/html:ro \
nginxservices:
nginx:
image: nginx:latest
container_name: nginx
restart: unless-stopped
ports: [ "80:80" ]
volumes:
- ./www:/usr/share/nginx/html:ro