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

Persistent data in Docker deployment #92

Open
gnsiva opened this issue Feb 14, 2024 · 2 comments
Open

Persistent data in Docker deployment #92

gnsiva opened this issue Feb 14, 2024 · 2 comments

Comments

@gnsiva
Copy link

gnsiva commented Feb 14, 2024

This project looks really great, thanks for setting it up!
I would like to use the Docker set up you provide to run Restfox. The only thing missing is persistent data between restarts of the container.

Is there a specific directory that could be volume mounted to ensure the data is there after a restart?

I'm using docker compose, and would be happy to contribute a docker compose entry to the README or code if that's of interest.

services:

  restfox:
    image: flawiddsouza/restfox:0.4.0
    ports:
      - 4004:4004
@xtay573269555
Copy link

+1

It will be easy to backup data if it supports mount directory to persist data.

@flawiddsouza
Copy link
Owner

I think this is a reasonable request but currently the application does not persist any data to any volumes. All the data is saved in browser, using indexeddb. I understand the use case, where you want to access your saved requests in a different device, by visiting the docker endpoint. I'll be marking this as a feature request, as currently Restfox does not have a backend layer to persist data. All the persistence is handled by the browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants