version: '3' services: web: image: nginx network_mode: "host" volumes: - ./nginx.conf:/etc/nginx/nginx.conf:ro ports: - 80:80