mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
Add server worker runtime settings and the worker bootstrap API. Add API bootstrap support for worker CLI processes and Docker-backed workers. Update the split-web PoC compose config and docs for Docker worker validation.
21 lines
526 B
TOML
21 lines
526 B
TOML
_version = 1
|
|
|
|
[server.web]
|
|
enabled = true
|
|
url = "{{ env.FABRO_WEB_URL }}"
|
|
|
|
[server.auth]
|
|
methods = ["dev-token"]
|
|
|
|
[server.worker]
|
|
runtime = "docker"
|
|
|
|
[server.worker.docker]
|
|
image = "fabro-sh/fabro:split-web-poc"
|
|
server_url = "http://fabro-api:32276"
|
|
network = "fabro-split-web"
|
|
docker_socket = "/var/run/docker.sock"
|
|
# QA-only: keep stopped worker containers around so their filesystem can be
|
|
# inspected after a run. Production deployments should omit this and use the
|
|
# default remove_on_exit = true.
|
|
remove_on_exit = false
|