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

PVC for OpenCart pods #1

Open
alto9 opened this issue Jun 15, 2021 · 0 comments
Open

PVC for OpenCart pods #1

alto9 opened this issue Jun 15, 2021 · 0 comments
Assignees

Comments

@alto9
Copy link
Owner

alto9 commented Jun 15, 2021

Is your feature request related to a problem? Please describe.
Whenever a pod restarts, it will go into the first-run wizard because the file structure on the webserver has reset.

Describe the solution you'd like
When OpenCart pods are created, they need to make use of a persistent volume claim so that data is retained on restarts.

My initial idea is a startup script that copies the web root to a secondary directory that maps to a PVC, and root nginx from there instead of /var/www/html. maybe a folder like /var/www/html_persisted.

@alto9 alto9 self-assigned this Aug 8, 2021
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