Enhance deployment automation, fix config issues, and add ECC bundles#179
Open
Abdullakala wants to merge 21 commits into
Open
Enhance deployment automation, fix config issues, and add ECC bundles#179Abdullakala wants to merge 21 commits into
Abdullakala wants to merge 21 commits into
Conversation
- deps.py: import AUTH_SECRET from auth.py (which loads dotenv first) instead of reading os.getenv before load_dotenv was called, which caused AUTH_SECRET to be None and broke all JWT validation - deps.py: fix OAuth2PasswordBearer tokenUrl from 'token' to '/api/auth/token' for correct Swagger UI authorization - config.py: use os.getenv with default instead of os.environ to prevent crashes when REDIS_URL is not set - postgre_db.py: fix default DATABASE_URL to include credentials and correct port (5433) matching the Docker postgres mapping Co-authored-by: Abkdarrk <Abdullakala@users.noreply.github.com>
- nginx.conf: add /api/ location block to proxy requests to the backend API service, enabling the production frontend to reach the API via relative URLs through the same origin - docker-compose.prod.yml: set VITE_API_URL to empty string at build time so the frontend uses relative /api paths proxied by nginx Co-authored-by: Abkdarrk <Abdullakala@users.noreply.github.com>
Create the missing deploy compose file referenced by Makefile targets. Uses pre-built GHCR images (flowsint-api and flowsint-app), includes all infrastructure services (postgres, redis, neo4j), celery worker, and exposes the app on port 80. Co-authored-by: Abkdarrk <Abdullakala@users.noreply.github.com>
- .env.example: add POSTGRES_USER/PASSWORD/DB variables, fix REDIS_URL default to localhost, improve documentation with section headers and generation commands, fix AUTH_SECRET typo - Makefile: fix open-browser-prod to use port 5173 instead of port 80 (Traefik), fix deploy target messages Co-authored-by: Abkdarrk <Abdullakala@users.noreply.github.com>
…/flowsint-instincts.yaml)
feat: add flowsint ECC bundle
…e-89c5 Fix authentication, add Docker deployment, and activate all features
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.