Choosing Storage
Named volume, bind mount, and UID/GID 1001:1001 permissions.
NasDash must be able to write to the entire /app/data. The default Compose example uses a host folder. A named volume is optional.
Bind Mount (default)
Advantages: files are visible to host snapshots and folder backup tools. Existing installations already use ./data.
volumes:
- ./data:/app/dataPrepare the directory before the first launch:
mkdir -p data/logos
sudo chown -R 1001:1001 dataThe image process runs under UID/GID 1001:1001. A EACCES error, a false configuration success, or a restarting container may result from a non-writable directory.
Named Volume (optional)
Advantages: simple setup, no ownership conflicts with a host directory, stable name nasdash-data.
volumes:
- nasdash-data:/app/dataLimitation: files are not directly visible in the Docker host's directory tree. Use a backup command via a temporary container. Do not use this on an existing ./data install unless you copy the files first.
Do Not Implicitly Switch Models
Switching from ./data to the nasdash-data volume without copying the data creates an apparently fresh instance. The old data has not disappeared, but it is no longer mounted.
Before migrating:
- Stop NasDash;
- Back up the complete source;
- Copy all files, including hidden files and keys;
- Set the owner to
1001:1001; - Start with the new target;
- Verify connection, services, topology, logos, and integrations.