services: club_service: container_name: clubService build: context: . dockerfile: ./club_service/Dockerfile expose: - 20001 resource_service: container_name: resourceService build: context: . dockerfile: ./resource_service/Dockerfile expose: - 20002 nginx: image: nginx:latest ports: - "80:80" volumes: - ./nginx.conf:/etc/nginx/nginx.conf depends_on: - club_service - resource_service