version: "3.8" services: nginx: image: nginx:alpine ports: - "8080:80" volumes: - ./default.conf:/etc/nginx/conf.d/default.conf:ro restart: always