mirror of
https://github.com/lfnovo/open-notebook.git
synced 2026-05-02 05:10:34 +00:00
Creates the API layer for Open Notebook Creates a services API gateway for the Streamlit front-end Migrates the SurrealDB SDK to the official one Change all database calls to async New podcast framework supporting multiple speaker configurations Implement the surreal-commands library for async processing Improve docker image and docker-compose configurations
20 lines
No EOL
649 B
YAML
20 lines
No EOL
649 B
YAML
services:
|
|
open_notebook_single:
|
|
image: lfnovo/open_notebook:latest-single
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.single
|
|
ports:
|
|
- "8502:8502" # Streamlit UI
|
|
- "5055:5055" # REST API
|
|
env_file:
|
|
- ./docker.env
|
|
volumes:
|
|
- ./notebook_data:/app/data # Application data
|
|
- ./surreal_single_data:/mydata # SurrealDB data
|
|
restart: always
|
|
# Single container includes all services: SurrealDB, API, Worker, and Streamlit
|
|
# Access:
|
|
# - Streamlit UI: http://localhost:8502
|
|
# - REST API: http://localhost:5055
|
|
# - API Documentation: http://localhost:5055/docs |