Skip to content

Feature/cd - #119

Open
Adsy42 wants to merge 28 commits into
developfrom
feature/cd
Open

Feature/cd#119
Adsy42 wants to merge 28 commits into
developfrom
feature/cd

Conversation

@Adsy42

@Adsy42 Adsy42 commented Nov 7, 2025

Copy link
Copy Markdown
Owner

No description provided.

Adsy42 and others added 28 commits November 4, 2025 22:24
- Updated frontend Dockerfile.prod to accept build-time environment variables
- Updated railway.json with proper build configurations and health checks
- Added scripts/generate-railway-keys.py for secure key generation
- Updated README with deployment instructions

Fixes login and chat functionality in Railway production environment by:
- Enabling Next.js to use production API URLs at build time
- Configuring proper health check endpoints for each service
- Setting correct Dockerfile paths for Railway builds
- Added standalone output mode to next.config.js
- Added console logging to detect missing NEXT_PUBLIC_API_URL
- Created check-frontend-config.js script for debugging
- Frontend will now warn if using localhost fallback in production
- Use node server.js instead of npm run start for standalone build
- Add proper user permissions (nextjs:nodejs)
- Copy standalone output correctly from .next/standalone
- This fixes the deployment warning about standalone mode
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.

1 participant