diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index fa5699b..815e413 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -44,7 +44,7 @@ services: - DATABASE_URL=postgresql://careerbridge_user:${POSTGRES_PASSWORD}@postgres:5432/careerbridge - REDIS_URL=redis://redis:6379/0 - SECRET_KEY=${SECRET_KEY} - - DEBUG=False + - DEBUG=${DEBUG} - ALLOWED_HOSTS=${ALLOWED_HOSTS} - CORS_ALLOWED_ORIGINS=${CORS_ALLOWED_ORIGINS} - CSRF_TRUSTED_ORIGINS=${CSRF_TRUSTED_ORIGINS} @@ -91,7 +91,7 @@ services: - DATABASE_URL=postgresql://careerbridge_user:${POSTGRES_PASSWORD}@postgres:5432/careerbridge - REDIS_URL=redis://redis:6379/0 - SECRET_KEY=${SECRET_KEY} - - DEBUG=False + - DEBUG=${DEBUG} - ALLOWED_HOSTS=${ALLOWED_HOSTS} - CORS_ALLOWED_ORIGINS=${CORS_ALLOWED_ORIGINS} - CSRF_TRUSTED_ORIGINS=${CSRF_TRUSTED_ORIGINS} @@ -121,7 +121,7 @@ services: - DATABASE_URL=postgresql://careerbridge_user:${POSTGRES_PASSWORD}@postgres:5432/careerbridge - REDIS_URL=redis://redis:6379/0 - SECRET_KEY=${SECRET_KEY} - - DEBUG=False + - DEBUG=${DEBUG} - ALLOWED_HOSTS=${ALLOWED_HOSTS} - CORS_ALLOWED_ORIGINS=${CORS_ALLOWED_ORIGINS} - CSRF_TRUSTED_ORIGINS=${CSRF_TRUSTED_ORIGINS} diff --git a/docs/screenshots/01_homepage.webp b/docs/screenshots/01_homepage.webp new file mode 100644 index 0000000..0bced70 Binary files /dev/null and b/docs/screenshots/01_homepage.webp differ diff --git a/docs/screenshots/02_login.webp b/docs/screenshots/02_login.webp new file mode 100644 index 0000000..bd94912 Binary files /dev/null and b/docs/screenshots/02_login.webp differ diff --git a/docs/screenshots/03_dashboard.webp b/docs/screenshots/03_dashboard.webp new file mode 100644 index 0000000..3152f90 Binary files /dev/null and b/docs/screenshots/03_dashboard.webp differ diff --git a/docs/screenshots/04_governance.webp b/docs/screenshots/04_governance.webp new file mode 100644 index 0000000..bc07b5c Binary files /dev/null and b/docs/screenshots/04_governance.webp differ diff --git a/docs/screenshots/05_django_admin.webp b/docs/screenshots/05_django_admin.webp new file mode 100644 index 0000000..3b5f048 Binary files /dev/null and b/docs/screenshots/05_django_admin.webp differ diff --git a/nginx/nginx.conf b/nginx/nginx.conf index c5dd9ce..544cb01 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -39,6 +39,18 @@ http { # return 301 https://$host$request_uri; # --- Django API --- + # Django Swagger/Redoc + location /swagger/ { + proxy_pass http://django; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + } + + location /redoc/ { + proxy_pass http://django; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + } location /api/ { proxy_pass http://django; proxy_set_header Host $host;