version: '3' services: web: image: nginx:alpine ports: - "80:80" volumes: - ./website:/usr/share/nginx/html - ./nginx.conf:/etc/nginx/conf.d/default.conf restart: always