Skip to content

Commit

Permalink
update to uvicorn
Browse files Browse the repository at this point in the history
  • Loading branch information
kikeelectronico committed Sep 1, 2024
1 parent e5aa330 commit 9326352
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion back/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
fastapi==0.112.2
gunicorn==23.0.0
uvicorn==0.30.6
paho-mqtt==1.6.1
python-dateutil==2.9.0.post0
requests==2.32.3
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose-debian.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
image: ghcr.io/kikeelectronico/homewarelan-back
restart: always
hostname: backend
command: "gunicorn -w 1 -b 0.0.0.0:5001 homewareAPI:app"
command: "uvicorn homewareAPI:app --host=0.0.0.0 --port=5001 --workers 1"
environment:
- REDIS_HOST=redis
- MONGO_HOST=mongodb
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose-raspberry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
image: ghcr.io/kikeelectronico/homewarelan-back
restart: always
hostname: backend
command: "gunicorn -w 1 -b 0.0.0.0:5001 homewareAPI:app"
command: "uvicorn homewareAPI:app --host=0.0.0.0 --port=5001 --workers 1"
environment:
- REDIS_HOST=redis
- MONGO_HOST=mongodb
Expand Down
2 changes: 1 addition & 1 deletion docker/test_docker-compose-debian.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
image: ghcr.io/kikeelectronico/homewarelan-back
restart: always
hostname: backend
command: "gunicorn -w 1 -b 0.0.0.0:5001 homewareAPI:app"
command: "uvicorn homewareAPI:app --host=0.0.0.0 --port=5001 --workers 1"
environment:
- REDIS_HOST=redis
- MONGO_HOST=mongodb
Expand Down

0 comments on commit 9326352

Please sign in to comment.