version: '3' services: server: image: nginx:alpine restart: always ports: - 80:80 volumes: - ./:/srv - ./nginx.conf:/etc/nginx/nginx.conf:ro