version: "3.1" services: nginx: image: nginx:1.25 container_name: nginx restart: always volumes: - ./conf/nginx.conf:/etc/nginx/nginx.conf - ./conf/conf.d:/etc/nginx/conf.d - ./html:/usr/share/nginx/html working_dir: /usr/share/nginx/html stdin_open: true network_mode: host