docker compose file added for deployment

This commit is contained in:
2026-01-22 22:34:12 +05:30
parent 9d7109b60f
commit c76d533783
13 changed files with 267 additions and 4 deletions

22
deployment/nginx.conf Normal file
View File

@@ -0,0 +1,22 @@
server {
listen 80;
server_name app.technobeesolutions.in;
# Proxy Angular Frontend Container
location /ocrf/ {
proxy_pass http://localhost:8080/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
# Proxy API requests to the Docker Backend
location /ocrb/ {
proxy_pass http://localhost:8000/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}