Fix OpenCode startup timeout on image build machines
OpenCode was stuck in an infinite restart loop on JustAVPS image build machines because the token wait (60s) plus DB lock wait (10s) exceeded the ServiceManager's port binding timeout (15s), causing SIGTERM before OpenCode could start.
Changes
- fix: Reduce OpenCode token wait from 60s to 10s — tokens arrive instantly via Docker env or within seconds via /env API
- fix: Increase ServiceManager START_WAIT_MS from 15s to 30s to cover token wait + DB lock wait + startup time
How to Update
Pull the new Docker image and recreate your container:
docker pull kortix/computer:0.8.26
Or click Update in the Kortix sidebar.