fix(docker): forward ODYSSEUS_FIRST_TOKEN_TIMEOUT through compose (#6778)

Co-authored-by: Alexandre Teixeira <general@alexandreteixeira.dev>
This commit is contained in:
Wojciech Taisner
2026-11-01 02:28:58 +00:00
committed by GitHub
co-authored by Alexandre Teixeira
parent dc0fbbf7aa
commit 285d05e72e
4 changed files with 14 additions and 0 deletions
+8
View File
@@ -67,6 +67,14 @@ def test_compose_files_forward_companion_base_url():
assert "COMPANION_BASE_URL" in _compose_env_names(path), path.name
def test_compose_files_forward_first_token_timeout():
# The local first-event watchdog (src/llm_core.py) reads this from the
# process environment, so a Docker install can only reach it when the
# compose files forward it from the host .env.
for path in COMPOSE_FILES:
assert "ODYSSEUS_FIRST_TOKEN_TIMEOUT" in _compose_env_names(path), path.name
def test_default_compose_files_do_not_mount_host_docker_socket():
for path in COMPOSE_FILES:
text = path.read_text(encoding="utf-8")