Skip to content

feat(docker): add volume for receipt photos - #33

Merged
davideee222 merged 2 commits into
mainfrom
feat/21-docker-photo-volume
Nov 20, 2026
Merged

davideee222 merged 2 commits into
mainfrom
feat/21-docker-photo-volume

Conversation

@davideee222

Copy link
Copy Markdown
Collaborator

Closes #21

  • Added named volume photo_data, mounted at /data/photos in the backend
  • Added PHOTO_DIR env variable so the API knows where to save photos
  • Tested: file is still there after docker compose down and up

@Andreas7274 Andreas7274 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Es gibt noch einen Merge-Konflikt, wahrscheinlich weil ich ja etwas in der compose.yml geändert habe. Überprüfe das nochmal, sodass der merge Konflikt verschwindet, ansonsten sollte es passen. (Copilot sagt du sollst noch die Leerzeile am ende des Codes wegmachen, das ist aber nicht so wichtig.)

@Andreas7274 Andreas7274 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Super, passt

@davideee222
davideee222 merged commit cdd0070 into main Nov 20, 2026
1 check 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.

[Sprint 2][C] Docker volume for receipt photos

2 participants