mirror of
https://github.com/lfnovo/open-notebook.git
synced 2026-10-19 09:13:16 +00:00
Both published image variants are now built from one Dockerfile with shared stages, so deploy fixes no longer have to be applied twice: - regular (multi-container): default build / --target runtime - single-container (app + SurrealDB): --target single Dockerfile.single and supervisord.single.conf are removed. The single image appends supervisord.surrealdb.conf (the SurrealDB program block) to the shared supervisord.conf at build time. CI workflows, Makefile targets and the single-container compose example now build via --target; published image names and tags are unchanged.
13 lines
416 B
Text
13 lines
416 B
Text
# SurrealDB program for the single-container image only.
|
|
# Appended to supervisord.conf at build time (see the `single` stage in the Dockerfile).
|
|
|
|
[program:surrealdb]
|
|
command=surreal start --log trace --user root --pass root rocksdb:/mydata/mydatabase.db
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
autorestart=true
|
|
priority=5
|
|
autostart=true
|
|
startsecs=5
|