fix: fix docker compose and add instructions (#2654)

This commit is contained in:
Nicolò Boschi 2024-07-12 18:27:13 +02:00 • committed by GitHub
commit 68e9617f54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 38 additions and 330 deletions

21
deploy/README.md Normal file
View file

@ -0,0 +1,21 @@
# Run Langflow
## Docker compose
To run Langflow with Docker compose, you need to have Docker and Docker compose installed on your machine. You can install Docker and Docker compose by following the instructions on the [official Docker documentation](https://docs.docker.com/get-docker/).
The docker-compose file uses `latest` tag; it's recommended to pull the latest version of the images before running the docker-compose file.
```bash
docker compose pull
```
To start the Langflow services, run the following command:
```bash
docker compose up
```
After running the command, you can access the Langflow services at the following url: http://localhost:80.
Edit the `.env` file to change the port or other configurations.