Comments (9)
if i set the SQL Servername at the env file to localhost my oc_web container sdtops working..
from openchat.
when running inside docker, the server name will be the same as container name in dockerfile. Please go through this readme once, it should answer your question
https://github.com/openchatai/OpenChat/tree/main/dj_backend_server#dockerizing-project-execution
from openchat.
Hey @JuergenCornely , add your openai key and use the following .env
For now add the same to both .env and .env.docker
I am trying to figure out which release broke it
OPENAI_API_TYPE=openai
# For openai
OPENAI_API_KEY=<>
EMBEDDING_PROVIDER=openai
STORE=QDRANT
VECTOR_STORE_INDEX_NAME=someindex
QDRANT_URL=http://qdrant:6333
MAX_PAGES_CRAWL=15
CELERY_BROKER_URL=redis://redis:6379/0
CELERY_RESULT_BACKEND=redis://redis:6379/0
DATABASE_NAME=openchat
DATABASE_USER=dbuser
DATABASE_PASSWORD=dbpass
DATABASE_HOST=mysql
DATABASE_PORT=3306
ALLOWED_HOSTS=localhost,0.0.0.0
APP_URL=http://0.0.0.0:8000
from openchat.
now you can do the following
cd dj_backend_server
make pre-install
make install
from openchat.
i ll try and give feedback
from openchat.
i tried oc_web is up and running again. Adminer can connect to sql database but backend lists error
from openchat.
Normally python depend on MySQL, is mandatory to wait to start, but seems sometimes mySQL send a message that started but is not yet finished. I think this is why you get and finally the site will work. Confirm please if the site is working after a while or just the adminer.
from openchat.
Confirmed
from openchat.
Thanks a lot for the very quick support
from openchat.
Related Issues (20)
- Web app
- Pricing page is down HOT 1
- Make install fails HOT 3
- How to handle multiple requests
- Failed to index websites HOT 5
- Requesting for ChatBubble code
- Embedded Chat Bubble HOT 2
- [PHP] exec /usr/local/bin/docker-entrypoint.sh: exec format error HOT 1
- dj backend csfr error HOT 11
- Slow reply on my local than on demo version
- Does not work on Vercel or Render. HOT 1
- Error localhost when host on machine HOT 5
- dj_backend missing the example.env file HOT 2
- please delete HOT 1
- django backend Problem HOT 7
- django backend latest release HOT 15
- Adding new Data Source (PDF) and can't download. It shows 404 HOT 1
- Webapp Searchbox HOT 26
- mysql image not running after install HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openchat.