Merge pull request #296 from mgmanzella/fix/dev-docs-surreal-db-image
fix(docs) - Update documentation for surrealdb docker image from v1-latest to v2
This commit is contained in:
commit
40c540cbf7
4 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue