nautobot-docker-compose
nautobot-docker-compose copied to clipboard
Uploaded images do not persist across restarts
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