[INFRA-351] fix: correct directory and command for space program in supervisor.conf#8838
[INFRA-351] fix: correct directory and command for space program in supervisor.conf#8838sriramveeraghanta merged 1 commit intopreviewfrom
Conversation
|
Linked to Plane Work Item(s) This comment was auto-generated by Plane |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe supervisord configuration for the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
Updates the AIO community supervisor.conf to run the space service from the correct working directory and with the correct React Router server entrypoint, aligning the supervisor start command with how the Space image is built/run.
Changes:
- Change
spaceprogram working directory to/app/space/apps/space. - Update
spaceprogram command to serve./build/server/index.jsviareact-router-serve.
Three small upstream infra fixes — no conflict with our setup. - nginx (web/admin/space): real_ip_header typo X-Forward-For → X-Forwarded-For. Without this, $remote_addr stays at the proxy IP so rate limiting and access logs see the proxy, not the actual client (makeplane#8935) - space Dockerfile: healthcheck targets /spaces/ instead of /, and add curl to the runtime image so the healthcheck can run (makeplane#8674) - aio supervisor.conf: correct space program directory and entry point — /app/space/apps/space + ./build/server/index.js (makeplane#8838) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Description
This pull request updates the supervisor configuration for the
spaceprogram to ensure the correct working directory and server entry point are used during deployment.Type of Change
Summary by CodeRabbit