nautobot-docker-compose icon indicating copy to clipboard operation
nautobot-docker-compose copied to clipboard

Uploaded images do not persist across restarts

Open apanagio opened this issue 1 year ago • 5 comments

If you stop and restart nautobot instance, you cannot view the uploaded images

Way to reproduce

  • Start nautobot using docker-compose
  • Upload an image to a site
  • Restart nautobot
  • Notice the previously uploaded files are missing

Explanation

If I understand correctly this happens because the uploaded images are stored in the file system within the container and the filesystem is purged when the container stops

Proposed Fix

Mount a volume from the host system to store uploaded files

apanagio avatar Oct 01 '22 08:10 apanagio