Merge pull request #395 from lfnovo/docs/add-pull-policy-always

docs: add pull_policy always to docker-compose examples
This commit is contained in:
Luis Novo 2026-01-09 08:00:20 -03:00 committed by GitHub
commit 76827af53f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 17 additions and 0 deletions

View file

@ -32,6 +32,7 @@ services:
open_notebook: open_notebook:
image: lfnovo/open_notebook:v1-latest image: lfnovo/open_notebook:v1-latest
pull_policy: always
ports: ports:
- "8502:8502" # Web UI - "8502:8502" # Web UI
- "5055:5055" # API - "5055:5055" # API

View file

@ -37,6 +37,7 @@ services:
open_notebook: open_notebook:
image: lfnovo/open_notebook:v1-latest-single image: lfnovo/open_notebook:v1-latest-single
pull_policy: always
ports: ports:
- "8502:8502" # Web UI (React frontend) - "8502:8502" # Web UI (React frontend)
- "5055:5055" # API (required!) - "5055:5055" # API (required!)

View file

@ -29,6 +29,7 @@ services:
open_notebook: open_notebook:
image: lfnovo/open_notebook:v1-latest image: lfnovo/open_notebook:v1-latest
pull_policy: always
ports: ports:
- "8502:8502" # Web UI - "8502:8502" # Web UI
- "5055:5055" # API - "5055:5055" # API

View file

@ -44,6 +44,7 @@ services:
open_notebook: open_notebook:
image: lfnovo/open_notebook:v1-latest image: lfnovo/open_notebook:v1-latest
pull_policy: always
ports: ports:
- "8502:8502" # Web UI - "8502:8502" # Web UI
- "5055:5055" # API - "5055:5055" # API

View file

@ -23,6 +23,7 @@ All-in-one container setup. **Simpler than Docker Compose, but less flexible.**
services: services:
open_notebook: open_notebook:
image: lfnovo/open_notebook:v1-latest-single image: lfnovo/open_notebook:v1-latest-single
pull_policy: always
ports: ports:
- "8502:8502" # Web UI (React frontend) - "8502:8502" # Web UI (React frontend)
- "5055:5055" # API - "5055:5055" # API

View file

@ -106,6 +106,7 @@ version: '3.8'
services: services:
open-notebook: open-notebook:
image: lfnovo/open_notebook:v1-latest-single image: lfnovo/open_notebook:v1-latest-single
pull_policy: always
ports: ports:
- "8502:8502" - "8502:8502"
- "5055:5055" - "5055:5055"
@ -458,6 +459,7 @@ export ESPERANTO_SSL_VERIFY=false
services: services:
open-notebook: open-notebook:
image: lfnovo/open_notebook:v1-latest-single image: lfnovo/open_notebook:v1-latest-single
pull_policy: always
environment: environment:
- OLLAMA_API_BASE=https://ollama.local:11434 - OLLAMA_API_BASE=https://ollama.local:11434
# Option 1: Custom CA bundle # Option 1: Custom CA bundle

View file

@ -159,6 +159,7 @@ services:
open-notebook: open-notebook:
image: lfnovo/open_notebook:v1-latest-single image: lfnovo/open_notebook:v1-latest-single
pull_policy: always
environment: environment:
- OPENAI_COMPATIBLE_BASE_URL=http://text-gen:5000/v1 - OPENAI_COMPATIBLE_BASE_URL=http://text-gen:5000/v1
depends_on: depends_on:
@ -204,6 +205,7 @@ services:
open-notebook: open-notebook:
image: lfnovo/open_notebook:v1-latest-single image: lfnovo/open_notebook:v1-latest-single
pull_policy: always
environment: environment:
- OPENAI_COMPATIBLE_BASE_URL=http://vllm:8000/v1 - OPENAI_COMPATIBLE_BASE_URL=http://vllm:8000/v1
depends_on: depends_on:

View file

@ -70,6 +70,7 @@ That's it! Caddy handles HTTPS automatically.
services: services:
open-notebook: open-notebook:
image: lfnovo/open_notebook:v1-latest-single image: lfnovo/open_notebook:v1-latest-single
pull_policy: always
environment: environment:
- API_URL=https://notebook.example.com - API_URL=https://notebook.example.com
labels: labels:
@ -139,6 +140,7 @@ When `API_URL` is not set, the Next.js frontend:
services: services:
open-notebook: open-notebook:
image: lfnovo/open_notebook:v1-latest-single image: lfnovo/open_notebook:v1-latest-single
pull_policy: always
container_name: open-notebook container_name: open-notebook
environment: environment:
- API_URL=https://notebook.example.com - API_URL=https://notebook.example.com
@ -278,6 +280,7 @@ API_URL=http://192.168.1.100:5055
services: services:
open-notebook: open-notebook:
image: lfnovo/open_notebook:v1-latest-single image: lfnovo/open_notebook:v1-latest-single
pull_policy: always
environment: environment:
- API_URL=http://192.168.1.100:5055 - API_URL=http://192.168.1.100:5055
ports: ports:
@ -307,6 +310,7 @@ Host the API and frontend on different subdomains:
services: services:
open-notebook: open-notebook:
image: lfnovo/open_notebook:v1-latest-single image: lfnovo/open_notebook:v1-latest-single
pull_policy: always
environment: environment:
- API_URL=https://api.notebook.example.com - API_URL=https://api.notebook.example.com
- OPENAI_API_KEY=${OPENAI_API_KEY} - OPENAI_API_KEY=${OPENAI_API_KEY}
@ -368,6 +372,7 @@ For complex deployments with separate frontend and API containers:
services: services:
frontend: frontend:
image: lfnovo/open_notebook_frontend:v1-latest image: lfnovo/open_notebook_frontend:v1-latest
pull_policy: always
environment: environment:
- API_URL=https://notebook.example.com - API_URL=https://notebook.example.com
ports: ports:
@ -375,6 +380,7 @@ services:
api: api:
image: lfnovo/open_notebook_api:v1-latest image: lfnovo/open_notebook_api:v1-latest
pull_policy: always
environment: environment:
- OPENAI_API_KEY=${OPENAI_API_KEY} - OPENAI_API_KEY=${OPENAI_API_KEY}
ports: ports:

View file

@ -27,6 +27,7 @@ Protect your Open Notebook deployment with password authentication and productio
services: services:
open_notebook: open_notebook:
image: lfnovo/open_notebook:v1-latest-single image: lfnovo/open_notebook:v1-latest-single
pull_policy: always
environment: environment:
- OPENAI_API_KEY=sk-... - OPENAI_API_KEY=sk-...
- OPEN_NOTEBOOK_PASSWORD=your_secure_password - OPEN_NOTEBOOK_PASSWORD=your_secure_password
@ -186,6 +187,7 @@ async function getNotebooks() {
services: services:
open_notebook: open_notebook:
image: lfnovo/open_notebook:v1-latest-single image: lfnovo/open_notebook:v1-latest-single
pull_policy: always
ports: ports:
- "127.0.0.1:8502:8502" # Bind to localhost only - "127.0.0.1:8502:8502" # Bind to localhost only
environment: environment: