page

CopyParty / Nexus Docs

Complete documentation of CopyParty installation, configuration, and structure by Louis

copyparty nexus-docs cdn file-management louis

NEXUS DOCS / COPYPARTY DOCUMENTATION

Agent: Louis | Date: January 13, 2026

1. INSTALLATION LOCATION & CONFIG

CopyParty Docker Container: - Container: nexus-cdn (image: copyparty/ac) - Port: 6653 (Document Pipeline cluster) - Config: /data/cdn/system/config/copyparty.conf (mounted read-only to /cfg)

Mounts: - /data/cdn/w (main data, read-write) - /data/cdn/system/config/cfg (config, read-only) - /data/cdn/system/hooks/w/system/hooks (upload hooks, read-only)

Environment Variables: - TZ=America/Denver - PRTY_UNSAFE_STATE=1

2. FOLDER STRUCTURE

/data/cdn/
├── users/chris/           # User home directories
│   ├── books/
│   ├── documents/         # Private documents (nexus-3.0/, uploads/)
│   ├── educational/
│   ├── exports/
│   ├── images/            # Screenshots, Testing, template
│   ├── markdown/          # AI-generated docs
│   ├── metadata/
│   ├── personal/
│   ├── public/            # Public files (anyone with link)
│   │   └── reports/
│   ├── reference/
│   ├── reports/
│   ├── sales/clients/
│   ├── scripts/
│   ├── shared/clients/    # Password-protected sharing
│   ├── test/
│   └── uploads/           # Staging with auto-extraction
│       ├── contracts/
│       ├── books/
│       ├── reports/
│       ├── manuals/
│       ├── research/
│       └── other/
├── home/                  # Empty (URL mapping)
├── shared/                # Global shared resources
│   ├── public/
│   └── templates/
├── documents/images/      # System documents
└── system/
    ├── config/copyparty.conf
    ├── hooks/extract-to-corpus.sh
    └── indexes/           # File indexing DBs

3. AUTHENTICATION

Accounts (from copyparty.conf): - chris: CodeSvr25 (admin with full rwmda access)

Access Levels: - rwmda: Read, Write, Move, Delete, Admin - rwmd: Read, Write, Move, Delete - r: Read only - *: Anyone (public)

Public Access (no login): - /home/chris/public/ - /public/ - /shared/ - /templates/

4. CREATING NEW USER FOLDERS

  1. Create directory structure:
mkdir -p /data/cdn/users/{username}/{documents,images,markdown,uploads,public,shared}
  1. Add to copyparty.conf [accounts]:
{username}: {password}
  1. Add volume mounts to copyparty.conf (copy chris pattern)

  2. Restart container: docker restart nexus-cdn

5. SUPPORTED FILE TYPES

Indexed/Searchable: All files via e2dsa flag Multimedia Indexed: Via e2ts flag Auto-extraction (uploads/): PDF, DOC, DOCX, TXT, MD, HTML, RTF, ODT, XLS, XLSX, CSV, PPT, PPTX

6. MCP INTEGRATION

Legacy MCP Server: /opt/mcp-servers/archive/docs-copyparty-legacy/mcp_docs_server.py (v2.2.0) - NOT currently active in Gateway (empty /opt/mcp-servers/docs/)

Available Tools (if activated): - upload, get_url, list, delete, move - user_create, status, extract_document - create_pdf (with templates: professional, minimal, report) - create_folder, list_folders - create_share, list_shares, delete_share

Upload Hook Integration: - /data/cdn/system/hooks/extract-to-corpus.sh - Triggers on uploads to /home/chris/uploads/ - Calls PDF-Converter MCP (port 6652) for document extraction - Auto-sends to Corpus for indexing

CopyParty Sharing: - Config: shr: /shr, shr-adm: chris, shr-rt: 1440 - Volumes with shr_who: auth can create password-protected shares - Share URL format: docs.corlera.com/shr/{share_key}/

7. INTEGRATION OPPORTUNITIES

  1. Activate Docs MCP Server:
  2. Copy /opt/mcp-servers/archive/docs-copyparty-legacy/mcp_docs_server.py to /opt/mcp-servers/docs/
  3. Gateway will auto-discover

  4. Auto-upload PDFs from other MCP servers:

  5. Use docs.upload(source_path, destination, user)
  6. Or direct file copy to /data/cdn/users/chris/{folder}/

  7. PDF Generation Pipeline:

  8. TEMP staging → docs.create_pdf → public URL
  9. Templates: professional, minimal, report

  10. Document Extraction Pipeline:

  11. Upload to /uploads/ → extract-to-corpus.sh → PDF-Converter → Corpus

Note: There's also a separate CDN infrastructure with: - nexus3-cdn-backend (port 8092) - FastAPI backend - nexus3-cdn-varnish (port 8091) - Caching layer - nexus3-cdn-vault/operational (ports 6655/6656) - Redis storage

ID: 84398eef
Path: Operation Ghostbusters - Infrastructure Research > Documentation Systems > CopyParty / Nexus Docs
Updated: 2026-01-13T12:09:05