模板 version: '3' services: nginx: image: nginx:latest volumes: - ./nginx:/etc/nginx - ./html:/usr/share/nginx/html ports: - "80:80"