fix: ISO install - fallback registry, filebrowser noauth, registries
1. registries.conf includes docker.io search + fallback 23.182.128.160 2. First-boot pull_with_fallback() tries primary then fallback registry 3. FileBrowser created with noauth config on persistent volume 4. Backend dynamic registries.json pre-created in ISO 5. Filebrowser password secret created for token flow Fixes: apps stuck at 0% download, filebrowser not working, dynamic catalog not loading on fresh installs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
3078d4b69e
commit
f586cbc499
@@ -2113,14 +2113,32 @@ STORAGECONF
|
||||
# Symlink for backward compat (some tools look in ~/.local/share/containers)
|
||||
ln -sf /var/lib/archipelago/containers/storage /mnt/target/home/archipelago/.local/share/containers/storage 2>/dev/null || true
|
||||
|
||||
# Configure Archipelago app registry (HTTP, insecure)
|
||||
# Configure Archipelago app registries (primary + fallback)
|
||||
cat > /mnt/target/home/archipelago/.config/containers/registries.conf <<'REGCONF'
|
||||
unqualified-search-registries = ["docker.io"]
|
||||
|
||||
[[registry]]
|
||||
location = "git.tx1138.com"
|
||||
insecure = true
|
||||
|
||||
[[registry]]
|
||||
location = "23.182.128.160:3000"
|
||||
insecure = true
|
||||
REGCONF
|
||||
chown -R 1000:1000 /mnt/target/home/archipelago/.config
|
||||
|
||||
# Pre-create dynamic registry config for the backend (fallback registries)
|
||||
mkdir -p /mnt/target/var/lib/archipelago/config
|
||||
cat > /mnt/target/var/lib/archipelago/config/registries.json <<'DYNREG'
|
||||
{
|
||||
"registries": [
|
||||
{"url": "git.tx1138.com/lfg2025", "name": "Archipelago Primary", "tls_verify": true, "enabled": true, "priority": 0},
|
||||
{"url": "23.182.128.160:3000/lfg2025", "name": "Archipelago Fallback", "tls_verify": false, "enabled": true, "priority": 10}
|
||||
]
|
||||
}
|
||||
DYNREG
|
||||
chown -R 1000:1000 /mnt/target/var/lib/archipelago/config
|
||||
|
||||
# Configure podman to use netavark backend (enables container DNS on archy-net).
|
||||
# netavark + aardvark-dns binaries come from the rootfs (Debian 13 apt packages).
|
||||
if [ -f /mnt/target/usr/lib/podman/netavark ]; then
|
||||
|
||||
Reference in New Issue
Block a user