Skip to content

Enhance deployment automation, fix config issues, and add ECC bundles#179

Open
Abdullakala wants to merge 21 commits into
reconurge:mainfrom
Abdullakala:main
Open

Enhance deployment automation, fix config issues, and add ECC bundles#179
Abdullakala wants to merge 21 commits into
reconurge:mainfrom
Abdullakala:main

Conversation

@Abdullakala

Copy link
Copy Markdown

No description provided.

Abdullakala and others added 21 commits April 24, 2026 07:00
- 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>
…e-89c5

Fix authentication, add Docker deployment, and activate all features
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants