opea-project / GenAIExamples

Generative AI Examples is a collection of GenAI examples such as ChatQnA, Copilot, which illustrate the pipeline capabilities of the Open Platform for Enterprise AI (OPEA) project.
https://opea.dev
Apache License 2.0
225 stars 140 forks source link

[Bug]CodeTrans sample fails while looking for opea/nginx image #830

Open arun-gupta opened 2 days ago

arun-gupta commented 2 days ago

Priority

Undecided

OS type

Ubuntu

Hardware type

Xeon-SPR

Installation method

Deploy method

Running nodes

Single Node

What's the version?

latest

Description

Trying to run CodeTrans sample and the Docker Compose file expects opea/nginx image while that does not exist.

Reproduce steps

Following the instructions at https://github.com/opea-project/GenAIExamples/tree/main/CodeTrans to get the sample running on Xeon. Specific steps are at https://gist.github.com/arun-gupta/5f02b5a57030ba8f975a4c328178ffe8

Raw log

[+] Running 2/2
 ✘ codetrans-xeon-nginx-server Error pull access denied for opea/nginx, repository does not exist or may require 'docker login': de...                                    0.8s 
 ✘ codetrans-xeon-ui-server Error    context canceled                                                                                                                     0.8s 
Error response from daemon: pull access denied for opea/nginx, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
ubuntu@ip-172-31-54-128:~$ 
letonghan commented 1 day ago

Hi @arun-gupta , the opea/nginx docker image was not officially build in v0.9. It will be ready in v1.0 release and uploaded to docker hub soon. We will inform you when this image is ready on docker hub, please wait until then and try again.

arun-gupta commented 1 day ago

What is the need to build our own opea/nginx image?

letonghan commented 20 hours ago

This is to customize the configuration file nginx.conf.template for opea. It provides more flexibility than using the official nginx docker image directly.