Skip to content

Ensure migrations locate project modules and expose PYTHONPATH#54

Merged
tw1que merged 1 commit intomainfrom
codex/update-docker-compose.yml-for-phonebook-service
Aug 14, 2025
Merged

Ensure migrations locate project modules and expose PYTHONPATH#54
tw1que merged 1 commit intomainfrom
codex/update-docker-compose.yml-for-phonebook-service

Conversation

@tw1que
Copy link
Copy Markdown
Owner

@tw1que tw1que commented Aug 14, 2025

Summary

  • add PYTHONPATH in docker-compose phonebook service
  • include project root on sys.path so Alembic migrations can import models

Testing

  • make test
  • docker-compose build (fails: ConnectionRefusedError: [Errno 111] Connection refused)
  • docker-compose run --rm phonebook alembic upgrade head (fails: ConnectionRefusedError: [Errno 111] Connection refused)

https://chatgpt.com/codex/tasks/task_e_689ddc081d90832c802804de3d94965b

@tw1que tw1que merged commit 96e7ffe into main Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant