apssouza22 / chatflow

Leveraging LLM to build Conversational UIs
BSD 2-Clause "Simplified" License
120 stars 26 forks source link

Amend docker-compose to run the app entirely #40

Closed vporton closed 1 year ago

vporton commented 1 year ago

Now docker-compose.yml uses several ports that may glitch with host software (e.g. if host runs PostgreSQL and/or Redis, they will collide). So to run it I needed to shut down my PostgreSQL, what is at least inconvenient.

I tried to fix it by adding

networks:
  mynetwork:
    driver: bridge

at the end of docker-compose.yml and commenting out port forwarding. But to run the app, I needed to uncomment every commented out port mappings, because the server software and the frontend are running not in Docker.

I recommend, for cleanness, to add to docker-compose.yml means to run all the software entirely in Docker, and to make it the recommended way to run in README file.

apssouza22 commented 1 year ago

We will leave this way since we want to use the dbs inside the docker and without docker. The configuration suggested doesn't solve anything