Deploy and CI/CD
Platform: https://github.com/AI4WA/AI4WA_Platform
Frontend: https://github.com/AI4WA/AI4WA_UI
Demo System Address:
Frontend: https://ai4wauidemo.ai4wa.com/
Django Admin: https://dj.demo.ai4wa.com/admin/
Hasura Interface: https://gql.demo.ai4wa.com/
Qdrant Interface Endpoints: https://qdrant.demo.ai4wa.com/
Note: above link will not work for long term, just for current demo purpose.
Example code for nginx
# /etc/nginx/sites-enabled/dj.conf
server {
server_name dj.demo.ai4wa.com;
client_max_body_size 100M;
location / {
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;
}
}
# /etc/nginx/sites-enabled/gql.conf
server {
client_max_body_size 100M;
server_name gql.demo.ai4wa.com;
location / {
proxy_pass http://localhost:8080;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header Connection "upgrade";
proxy_set_header X-Forwarded-Host $http_host; # necessary for proper absolute redirects and CSRF check
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Upgrade $http_upgrade; # WebSocket support
proxy_read_timeout 86400;
}
}
# /etc/nginx/sites-enabled/qdrant.conf
server {
client_max_body_size 100M;
server_name qdrant.demo.ai4wa.com;
location / {
proxy_pass http://localhost:6334;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header Connection "upgrade";
proxy_set_header X-Forwarded-Host $http_host; # necessary for proper absolute redirects and CSRF check
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Upgrade $http_upgrade; # WebSocket support
proxy_read_timeout 86400;
}
}
Last updated