services: nginx-www: image: nginx:latest restart: always container_name: nginx-www ports: - 127.0.0.1:8082:80 volumes: - ./nginx.conf:/etc/nginx/nginx.conf - ./index:/mnt/index