Skip to content

Fix strategy service startup: add PYTHONPATH environment variable - #21

Merged
SamoraDC merged 3 commits into
mainfrom
fix-rust
Dec 19, 2025
Merged

Fix strategy service startup: add PYTHONPATH environment variable#21
SamoraDC merged 3 commits into
mainfrom
fix-rust

Conversation

@SamoraDC

Copy link
Copy Markdown
Owner

The strategy service was failing to start (exit status 3) because Python couldn't find the strategy module. This fix:

  • Adds PYTHONPATH=/app to the main Dockerfile
  • Adds PYTHONPATH to supervisord.conf environment for strategy service

This ensures the Python import path includes /app so that "strategy.src.api.main" can be resolved correctly.

🤖 Generated with Claude Code

SamoraDC and others added 3 commits December 19, 2025 13:25
The strategy service was failing to start (exit status 3) because
Python couldn't find the strategy module. This fix:

- Adds PYTHONPATH=/app to the main Dockerfile
- Adds PYTHONPATH to supervisord.conf environment for strategy service

This ensures the Python import path includes /app so that
"strategy.src.api.main" can be resolved correctly.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Collapse nested if statements for reconnect counter reset logic
to satisfy clippy's collapsible_if lint.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@SamoraDC
SamoraDC merged commit a8ab6c3 into main Dec 19, 2025
6 checks passed
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