version: '3.7' services: authors: build: context: ./authors ports: - "3000:3000" books: build: context: ./books ports: - "3001:3001" nginx: image: nginx:latest ports: - "80:80" volumes: - ./nginx.conf:/etc/nginx/nginx.conf