My media files are not found after docker compose down then up #7251
Unanswered
sayinmehmet47
asked this question in
Q&A
Replies: 1 comment
-
any updates? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have vps that i spin my payload app and nextjs frontend app. My media are persistent when i upload delete any media files. But when in my hetzner machine i stop the docker containers and run them my images are lost
i was thinking if the problem is volumes. I already added the volumes correctly i think like here. As you see i added volume in to persist images.
volumes:
- payload-data:/home/node/app/dist/media
Then i though maybe the problem is in my Media.ts setup. But did not see anything suspicious
i have already link for my repo
https://github.com/sayinmehmet47/blueastowel-cms
Beta Was this translation helpful? Give feedback.
All reactions