Skip to content

bind media volumes to celery and celery-beat; use ECR images in prod docker compose#244

Merged
paigewilliams merged 1 commit intodevelopfrom
debug-delete-expired-chunks
Mar 16, 2026
Merged

bind media volumes to celery and celery-beat; use ECR images in prod docker compose#244
paigewilliams merged 1 commit intodevelopfrom
debug-delete-expired-chunks

Conversation

@paigewilliams
Copy link
Collaborator

@paigewilliams paigewilliams commented Mar 16, 2026

attempting to resolve error of, Target directory does not exist: /usr/src/app/media/resumable_chunks in the ec2 instance

@paigewilliams paigewilliams requested a review from Copilot March 16, 2026 21:03
@paigewilliams paigewilliams self-assigned this Mar 16, 2026
@paigewilliams paigewilliams merged commit e9c4a3a into develop Mar 16, 2026
7 checks passed
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the production Docker Compose configuration so background workers (celery and celery-beat) use the same persisted media storage as the web app, and are intended to run using ECR-hosted images in production.

Changes:

  • Set celery and celery-beat to use ${ITKDB_ECR_PATH}:latest.
  • Bind media_volume into celery and celery-beat at /usr/src/app/media.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 39 to +46
extends:
file: common.yaml
service: celery
image: ${ITKDB_ECR_PATH}:latest
env_file:
- .env.prod
volumes:
- media_volume:/usr/src/app/media
Comment on lines 48 to +55
extends:
file: common.yaml
service: celery-beat
image: ${ITKDB_ECR_PATH}:latest
env_file:
- .env.prod
volumes:
- media_volume:/usr/src/app/media
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