services: server: build: context: ./server dockerfile: Dockerfile ports: - "3001:3001" environment: - PORT=3001 - GEMINI_API_KEY=${GEMINI_API_KEY} - CLIENT_URL=http://localhost:3000 client: build: context: ./client dockerfile: Dockerfile args: - NEXT_PUBLIC_API_URL=http://localhost:3001 ports: - "3000:3000" environment: - NEXT_PUBLIC_API_URL=http://localhost:3001 depends_on: - server