services: web: build: context: . dockerfile: nginx/Dockerfile ports: - "80:80" volumes: - ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro command: [nginx-debug, '-g', 'daemon off;'] db: build: context: ./backend/db ports: - "27017:27017" backend: build: context: ./backend