open-notebook/supervisord.surrealdb.conf
Luis Novo 12ced05b3a
build: converge Docker builds into a single multi-stage Dockerfile (#1066)
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.
2026-07-11 18:46:43 -03:00

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