docs: add pull_policy always to docker-compose examples

Add pull_policy: always to all open_notebook service definitions
in docker-compose examples across documentation. This ensures
Docker always checks for and pulls newer images when running
docker compose up.

Closes #393
This commit is contained in:
LUIS NOVO 2026-01-09 07:57:25 -03:00
parent 06b07df684
commit fb6dd01111
9 changed files with 17 additions and 0 deletions

View file

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