Change documentation and template to mount only the config.json file instead of the entire config directory. This prevents overwriting Python module files in /app/config and resolves import errors during container startup.
- "/mnt/cache/appdata/soulsync/config:/app/config" # ❌ Still overwrites Python module
```
**Correct**:
```yaml
- "/mnt/cache/appdata/soulsync/config:/app/config" # ✅ This maps to the config folder only
- "/mnt/cache/appdata/soulsync/config.json:/app/config/config.json" # ✅ Mount only the config file
```
**Why this happens**: Mounting the entire appdata folder to `/app/config` overwrites SoulSync's Python `config/` module, causing import errors.
**Why this happens**: The `/app/config` directory contains Python module files (`settings.py`) needed for the app to run. Mounting anything to `/app/config` overwrites these files. Only mount the specific `config.json` file.
<ConfigName="Config Directory" Target="/app/config" Default="/mnt/user/appdata/soulsync/config" Mode="rw"Description="Configuration files storage - CRITICAL: Path must end with /config to avoid module import errors" Type="Path"Display="always"Required="true"Mask="false">/mnt/user/appdata/soulsync/config</Config>
<ConfigName="Config File" Target="/app/config/config.json" Default="/mnt/user/appdata/soulsync/config.json" Mode="rw"Description="SoulSync configuration file - mount only the config.json file" Type="Path"Display="always"Required="true"Mask="false">/mnt/user/appdata/soulsync/config.json</Config>
<ConfigName="Music Share"Target="/host/music"Default="/mnt/user/Music"Mode="rw"Description="Your music share containing Downloads and Library folders for slskd integration"Type="Path"Display="always"Required="true"Mask="false">/mnt/user/Music</Config>
<ConfigName="PYTHONPATH"Target="PYTHONPATH"Default="/app"Mode=""Description="Python path (do not change)"Type="Variable"Display="advanced"Required="true"Mask="false">/app</Config>