The My Apps page went blank after installing apps because pkg['static-files'].icon was accessed without optional chaining on dynamically installed packages that lack the static-files property. - Make static-files optional in PackageDataEntry type - Add defensive ?.icon access with fallback in Apps.vue and AppDetails.vue - Add filebrowser to mock backend staticDevApps (enables Cloud page in demo) - Expand portMappings and marketplaceMetadata for all marketplace apps - installPackage now uses staticApp() format for consistent data shape Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
# Archipelago Demo Stack - Mock backend + Vue UI + AIUI Chat
|
|
# Deploy via Portainer: Web editor -> paste this, or deploy from repo
|
|
# Access at http://localhost:4848 (or your host:4848)
|
|
#
|
|
# Required: Set ANTHROPIC_API_KEY in environment or .env file for chat to work
|
|
# Optional: Chat will show fallback message if no key is set
|
|
|
|
services:
|
|
neode-backend:
|
|
build:
|
|
context: .
|
|
dockerfile: neode-ui/Dockerfile.backend
|
|
container_name: archy-demo-backend
|
|
environment:
|
|
VITE_DEV_MODE: "existing" # Skip setup/onboarding, go straight to login
|
|
ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY:-}
|
|
NODE_OPTIONS: "--dns-result-order=ipv4first"
|
|
expose:
|
|
- "5959"
|
|
dns:
|
|
- 8.8.8.8
|
|
- 1.1.1.1
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1:5959/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
|
|
neode-web:
|
|
build:
|
|
context: .
|
|
dockerfile: neode-ui/Dockerfile.web
|
|
container_name: archy-demo-web
|
|
ports:
|
|
- "4848:80"
|
|
depends_on:
|
|
- neode-backend
|
|
restart: unless-stopped
|