mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-08 14:05:16 +00:00
parent
e2d6c41177
commit
5a1f614175
@ -0,0 +1,2 @@
|
|||||||
|
PORT=8001
|
||||||
|
OPENAI_API_KEY="your_secret_key_here"
|
@ -35,6 +35,12 @@ make start
|
|||||||
|
|
||||||
This will launch a webserver on port 8001.
|
This will launch a webserver on port 8001.
|
||||||
|
|
||||||
|
Or via docker compose (does not use hot reload by default):
|
||||||
|
|
||||||
|
```
|
||||||
|
docker compose up
|
||||||
|
```
|
||||||
|
|
||||||
## Deploy
|
## Deploy
|
||||||
|
|
||||||
To deploy the project, first build the docker image:
|
To deploy the project, first build the docker image:
|
||||||
|
@ -0,0 +1,12 @@
|
|||||||
|
version: '3'
|
||||||
|
|
||||||
|
services:
|
||||||
|
server:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
image: ____project_name:latest
|
||||||
|
container_name: ____project_name
|
||||||
|
ports:
|
||||||
|
- "8001:8001"
|
||||||
|
env_file:
|
||||||
|
- .env
|
Loading…
Reference in New Issue
Block a user