services: document_server: container_name: document_server build: context: . dockerfile: ./document_server/Dockerfile expose: - 8008 product_server: container_name: product_server build: context: . dockerfile: ./product_server/Dockerfile expose: - 8009 nginx: image: nginx:latest ports: - "80:80" volumes: - ./nginx.conf:/etc/nginx/nginx.conf depends_on: - document_server - product_server