Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a volume on GCP #400

Open
xdrcft8000 opened this issue Feb 23, 2024 · 1 comment
Open

Add a volume on GCP #400

xdrcft8000 opened this issue Feb 23, 2024 · 1 comment
Assignees

Comments

@xdrcft8000
Copy link
Contributor

xdrcft8000 commented Feb 23, 2024

so that the data can be persisted over container restarts

@xdrcft8000 xdrcft8000 self-assigned this Feb 23, 2024
@xdrcft8000
Copy link
Contributor Author

xdrcft8000 commented Feb 23, 2024

I created a persistent disk called ldapi-data-storage, added it to the ldapi-experiment VM, formatted and mounted it, then mounted it to the docker container.

Uploaded data now persists between VM stops and starts.

NOTE:
When I was choosing which dir to mount in the ldapi container, I first chose /files/file-store. But the uploaded data wasn't persisting between restarts.

Locally, I noticed that when deleting the file-store dir, the uploaded data is still available.

So I tried mounting /cache/ instead, and now the uploaded data is still available after each restart. However the files that are in the /files/file-store dir are lost.

I'm not sure if this intended so I thought I'd mention it.

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

No branches or pull requests

1 participant