--- services: nginx: restart: always image: nginx:latest # network_mode: host ports: - 80:80 - 443:443 volumes: # - ./nginx/nginx.conf:/etc/nginx/nginx.conf - ./nginx/default.conf:/etc/nginx/conf.d/default.conf - ./nginx/certs:/etc/nginx/certs