NarratoAI Docker & Self-Hosted Deployment

GitHub

Python aiagent & aiops repository by @linyqh. AI agent rules & system prompts with 12k stars.

11,501 stars Python Python 1 file · ~2,057 tokens #aiagent#aiops#gemini-api#llm#moviepy#python
RAW Compose
1. Pull Image (DOCKERHUB) docker pull library/narratoai
2. Docker Run (1-Click Launch) docker run -d --name narratoai -p 8501:8501 --restart always narratoai:latest
3. Podman Run podman run -d --name narratoai -p 8501:8501 --restart always narratoai:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/library/narratoai:latest
5. ORAS Pull (OCI Artifact) oras pull narratoai:latest
6. Compose Deployment docker compose up -d
docker-compose.yml
Download .yml
services:
  narratoai-webui:
    build:
      context: .
      dockerfile: Dockerfile
    image: narratoai:latest
    container_name: narratoai-webui

    ports:
      - "8501:8501"

    volumes:
      - ./storage:/NarratoAI/storage
      - ./config.toml:/NarratoAI/config.toml
      - ./resource:/NarratoAI/resource:rw

    environment:
      - PYTHONUNBUFFERED=1
      - TZ=Asia/Shanghai

    restart: unless-stopped

    # 健康检查
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:8501/_stcore/health"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 60s