Spaces:
Running
Running
Syed Arfan
Add Docker Compose setup with PostgreSQL, Redis, and Nginx; implement caching and database models
66da1e3
| events { | |
| worker_connections 1024; | |
| } | |
| http { | |
| upstream api { | |
| server sentiment-api:8000; | |
| } | |
| server { | |
| listen 80; | |
| location / { | |
| proxy_pass http://api; | |
| proxy_set_header Host $host; | |
| proxy_set_header X-Real-IP $remote_addr; | |
| } | |
| } | |
| } |