docker compose update
This commit is contained in:
parent
b60cee2cc2
commit
6724cad64a
1 changed files with 9 additions and 6 deletions
|
|
@ -6,17 +6,20 @@ services:
|
|||
ports:
|
||||
- "8000:8000"
|
||||
volumes:
|
||||
- ./surreal-data:/mydata
|
||||
user: "${UID}:${GID}"
|
||||
command: start --log trace --user root --pass root rocksdb:mydatabase.db
|
||||
- surreal_data:/mydata
|
||||
command: start --log trace --user root --pass root rocksdb:/mydata/mydatabase.db
|
||||
pull_policy: always
|
||||
user: root
|
||||
|
||||
open_notebook:
|
||||
image: lfnovo/open_notebook:latest
|
||||
ports:
|
||||
- "8080:8502"
|
||||
volumes:
|
||||
- ./docker.env:/app/.env
|
||||
- "8502:8502"
|
||||
env_file:
|
||||
- ./docker.env
|
||||
depends_on:
|
||||
- surrealdb
|
||||
pull_policy: always
|
||||
|
||||
volumes:
|
||||
surreal_data:
|
||||
Loading…
Reference in a new issue