Comments (1)
To resolve the issue where the PostgreSQL container is listening on port 5430:5432
, causing the default settings to fail, you need to update the port mapping in your docker-compose.yml
file to use the default PostgreSQL port 5432:5432
.
Here is the updated docker-compose.yml
configuration:
services:
postgresql:
image: postgres:14.2-alpine
environment:
POSTGRES_USER: pandasai
POSTGRES_PASSWORD: password123
POSTGRES_DB: pandasai-db
ports:
- "5432:5432"
volumes:
- ./pgdata:/var/lib/postgresql/data
networks:
- pandabi-network
server:
container_name: pandabi-backend
build:
context: ./server
dockerfile: Dockerfile
ports:
- "8000:8000"
restart: always
env_file:
- ./server/.env
depends_on:
- postgresql
networks:
- pandabi-network
command: "/bin/bash startup.sh"
client:
container_name: pandabi-frontend
build:
context: ./client
dockerfile: Dockerfile
ports:
- "3000:3000"
restart: always
env_file:
- ./client/.env
environment:
- NODE_ENV=development
command: npm run start
networks:
- pandabi-network
networks:
pandabi-network:
driver: bridge
By changing the port mapping from 5430:5432
to 5432:5432
, the PostgreSQL container will listen on the default port 5432
, which should resolve the issue with the default settings [1].
To continue talking to Dosu, mention @dosu.
from pandas-ai.
Related Issues (20)
- DIsplay japanese characters in the plot image HOT 1
- when i note "direct_sql": True, error:Not an executable object: "\nSELECT \n ELECTRY_NAME,\n ...... HOT 2
- why so slow. compare langchaindatabase and vanna .... HOT 2
- Issue: pandasAI Authentication Error with OpenAI HOT 2
- Issue on docs HOT 1
- bug on output_type_template.tmpl HOT 2
- Not getting he correct answer
- There is a code error in the document HOT 1
- Unable to pass field_description for Smartdatalakes
- pip install pandasai fails on Windows HOT 3
- Pandasai ordering custom order not correct HOT 3
- Unable to save chart image, or setting not to save chart will throw error "No such file or directory" HOT 3
- Analisis
- Return incorrect result for incorrect input HOT 2
- Unnecessary datatype mismatch error | Pandas AI HOT 2
- Unable to contribute due to aiohttp package HOT 1
- Last code generated never used for prompt generation HOT 1
- Metrics and Metadata for each request
- Docker compose platform errors at startup in the browser 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 pandas-ai.