Update surrealdb docker image from v1-latest to v2 in dev docs

This commit is contained in:
Morisa Manzella 2025-12-03 18:19:36 -05:00
parent 53cbea6809
commit 1dde858cfb
4 changed files with 6 additions and 6 deletions

View file

@ -59,7 +59,7 @@ uv sync
docker run -d \
--name surrealdb-dev \
-p 8000:8000 \
surrealdb/surrealdb:v1-latest \
surrealdb/surrealdb:v2 \
start --log trace --user root --pass root memory
```

View file

@ -161,7 +161,7 @@ For production deployments or development, use the multi-container setup:
```yaml
services:
surrealdb:
image: surrealdb/surrealdb:v1-latest
image: surrealdb/surrealdb:v2
ports:
- "8000:8000"
command: start --log trace --user root --pass root memory
@ -299,7 +299,7 @@ This protects both the web interface and API endpoints.
```yaml
services:
surrealdb:
image: surrealdb/surrealdb:v1-latest
image: surrealdb/surrealdb:v2
ports:
- "127.0.0.1:8000:8000" # Bind to localhost only
command: start --log warn --user root --pass root file:///mydata/database.db
@ -490,7 +490,7 @@ ENABLE_ANALYTICS=false
version: '3.8'
services:
surrealdb:
image: surrealdb/surrealdb:v1-latest
image: surrealdb/surrealdb:v2
ports:
- "8000:8000"
command: start --log warn --user root --pass root file:///mydata/database.db

View file

@ -146,7 +146,7 @@ services:
# docker-compose.yml
services:
surrealdb:
image: surrealdb/surrealdb:v1-latest
image: surrealdb/surrealdb:v2
ports:
- "127.0.0.1:8000:8000" # Bind to localhost only
command: start --log warn --user root --pass root file:///mydata/database.db

View file

@ -488,7 +488,7 @@ LOG_LEVEL=DEBUG
```bash
# Start SurrealDB
docker run -d --name surrealdb -p 8000:8000 \
surrealdb/surrealdb:v1-latest start \
surrealdb/surrealdb:v2 start \
--user root --pass password \
--bind 0.0.0.0:8000 memory