20 lines
1004 B
Markdown
20 lines
1004 B
Markdown
# Python Worker
|
|
|
|
This is the first, compatibility-preserving ownership migration of the shared
|
|
FastAPI worker from the n8n Compose project into Infra.
|
|
|
|
The service deliberately keeps the existing container name, port, local image,
|
|
source/state mounts, files mount, and `n8n_default` network. Therefore n8n and
|
|
the OGame Agent continue to use `http://python_worker:8000` without workflow
|
|
changes. The absent `playwright_chrome` runtime is not migrated; current OGame
|
|
automation uses the existing CDP browser endpoint.
|
|
|
|
Host-specific, non-secret runtime values are captured during cutover in the
|
|
ignored `python-worker/runtime.env` file with mode `0600`. The 921 MB source and
|
|
state directory remains at `/volume2/docker/n8n/python_worker` for this phase so
|
|
rollback does not require a data copy.
|
|
|
|
The local `n8n-python_worker` image is transitional. A later reviewed change
|
|
must add a pinned production Dockerfile and remove boot-time package installs
|
|
before the old image can be considered reproducible.
|