2026-06-22 09:28:05 -04:00
|
|
|
# Archipelago Public Demo Stack - Mock backend + Vue UI + AIUI Chat
|
|
|
|
|
# Deploy via Portainer: Web editor -> paste this, or deploy from repo (build).
|
|
|
|
|
# Access at http://localhost:2100
|
|
|
|
|
#
|
|
|
|
|
# This builds the demo images from source. For the separated, auto-updating
|
|
|
|
|
# deploy that pulls prebuilt :demo images, see demo-deploy/docker-compose.yml.
|
|
|
|
|
#
|
|
|
|
|
# DEMO=1 turns on the public multi-visitor sandbox: each visitor gets an
|
|
|
|
|
# isolated, ephemeral copy of all state; real container runtimes are never
|
|
|
|
|
# touched; the shared login password is "entertoexit".
|
2026-03-16 20:11:12 +00:00
|
|
|
#
|
2026-03-07 20:02:53 +00:00
|
|
|
# Required: Set ANTHROPIC_API_KEY in environment or .env file for chat to work
|
2026-03-17 01:17:12 +00:00
|
|
|
# IndeedHub is deployed as a separate Portainer stack (indee-demo repo)
|
2026-02-18 08:30:12 +00:00
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
neode-backend:
|
|
|
|
|
build:
|
|
|
|
|
context: .
|
|
|
|
|
dockerfile: neode-ui/Dockerfile.backend
|
|
|
|
|
container_name: archy-demo-backend
|
|
|
|
|
environment:
|
2026-06-22 09:28:05 -04:00
|
|
|
DEMO: "1"
|
2026-03-07 23:07:38 +00:00
|
|
|
ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY:-}
|
2026-03-09 17:09:59 +00:00
|
|
|
NODE_OPTIONS: "--dns-result-order=ipv4first"
|
2026-06-22 09:28:05 -04:00
|
|
|
# Optional tuning (defaults shown):
|
|
|
|
|
# DEMO_SESSION_TTL_MS: "2700000" # 45 min idle before a session is reaped
|
|
|
|
|
# DEMO_MAX_SESSIONS: "500" # concurrent visitor cap
|
|
|
|
|
# DEMO_FILE_QUOTA_BYTES: "52428800" # 50 MB uploads per visitor
|
2026-02-18 08:30:12 +00:00
|
|
|
expose:
|
|
|
|
|
- "5959"
|
2026-03-08 00:21:01 +00:00
|
|
|
dns:
|
|
|
|
|
- 8.8.8.8
|
|
|
|
|
- 1.1.1.1
|
2026-02-18 08:30:12 +00:00
|
|
|
restart: unless-stopped
|
2026-03-09 17:09:59 +00:00
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1:5959/health"]
|
|
|
|
|
interval: 30s
|
|
|
|
|
timeout: 10s
|
|
|
|
|
retries: 3
|
2026-02-18 08:30:12 +00:00
|
|
|
|
|
|
|
|
neode-web:
|
|
|
|
|
build:
|
|
|
|
|
context: .
|
|
|
|
|
dockerfile: neode-ui/Dockerfile.web
|
2026-06-22 09:28:05 -04:00
|
|
|
args:
|
|
|
|
|
VITE_DEMO: "1"
|
2026-02-18 08:30:12 +00:00
|
|
|
container_name: archy-demo-web
|
2026-03-07 20:02:53 +00:00
|
|
|
ports:
|
2026-06-22 09:28:05 -04:00
|
|
|
- "2100:80"
|
2026-02-18 08:30:12 +00:00
|
|
|
depends_on:
|
|
|
|
|
- neode-backend
|
|
|
|
|
restart: unless-stopped
|