Spaces:
Runtime error
Runtime error
Update docker-compose.yaml
Browse files- docker-compose.yaml +2 -2
docker-compose.yaml
CHANGED
@@ -5,11 +5,11 @@ services:
|
|
5 |
build:
|
6 |
context: .
|
7 |
dockerfile: Dockerfile
|
8 |
-
command: sh -c "uvicorn main
|
9 |
ports:
|
10 |
- "8000:8000"
|
11 |
volumes:
|
12 |
-
-
|
13 |
environment:
|
14 |
- OPENAI_API_KEY=YPUR-OPENAI_API_KEY
|
15 |
- REDIS_URL=YOUR-REDIS_URL
|
|
|
5 |
build:
|
6 |
context: .
|
7 |
dockerfile: Dockerfile
|
8 |
+
command: sh -c "uvicorn main:/ --reload --port=8000 --host=0.0.0.0"
|
9 |
ports:
|
10 |
- "8000:8000"
|
11 |
volumes:
|
12 |
+
- ./:/
|
13 |
environment:
|
14 |
- OPENAI_API_KEY=YPUR-OPENAI_API_KEY
|
15 |
- REDIS_URL=YOUR-REDIS_URL
|