services: nginx-web: restart: unless-stopped image: nginx:alpine ports: - "8080:80" volumes: - ./path/to/webroot:/usr/share/nginx/html:ro