mirror of
https://github.com/lfnovo/open-notebook.git
synced 2026-04-29 12:00:00 +00:00
28 lines
No EOL
536 B
YAML
28 lines
No EOL
536 B
YAML
version: '3'
|
|
|
|
services:
|
|
surrealdb:
|
|
image: surrealdb/surrealdb:v2
|
|
ports:
|
|
- "8000:8000"
|
|
volumes:
|
|
- 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"
|
|
env_file:
|
|
- ./docker.env
|
|
depends_on:
|
|
- surrealdb
|
|
pull_policy: always
|
|
volumes:
|
|
- notebook_data:/app/data
|
|
|
|
volumes:
|
|
surreal_data:
|
|
notebook_data: |