20 lines
360 B
YAML
20 lines
360 B
YAML
services:
|
|
surrealdb:
|
|
image: surrealdb/surrealdb:latest
|
|
container_name: surrealdb-wrbapp
|
|
ports:
|
|
- 8000:8000
|
|
volumes:
|
|
- ./database:/data
|
|
user: "${UID}:${GID}"
|
|
entrypoint:
|
|
- /surreal
|
|
- start
|
|
- --user
|
|
- "root"
|
|
- --pass
|
|
- "root"
|
|
- --log
|
|
- debug
|
|
- rocksdb:/data/database.db
|