version: '3.8' services: blog: build: context: . container_name: blog volumes: - blog-data:/usr/share/nginx/html volumes: blog-data: name: blog-data