-
Notifications
You must be signed in to change notification settings - Fork 440
docker compose 启动时 backend容器报错 #276
Description
Pre-checks
- I have searched existing issues and this is not a duplicate.
Deployment Method
Docker
Steps to Reproduce
backend-1 | [startup] created bg task: trigger_daemon
backend-1 | [startup] all background tasks created!
backend-1 | Task exception was never retrieved
backend-1 | future: <Task finished name='ss-local-proxy' coro=<_start_ss_local() done, defined at /app/app/main.py:15> exception=JSONDecodeError('Expecting value: line 1 column 1 (char 0)')>
backend-1 | Traceback (most recent call last):
backend-1 | File "/app/app/main.py", line 25, in _start_ss_local
backend-1 | nodes = _json.load(open(cfg_file))
backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
backend-1 | File "/usr/local/lib/python3.12/json/init.py", line 293, in load
backend-1 | return loads(fp.read(),
backend-1 | ^^^^^^^^^^^^^^^^
backend-1 | File "/usr/local/lib/python3.12/json/init.py", line 346, in loads
backend-1 | return _default_decoder.decode(s)
backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
backend-1 | File "/usr/local/lib/python3.12/json/decoder.py", line 338, in decode
backend-1 | obj, end = self.raw_decode(s, idx=_w(s, 0).end())
backend-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
backend-1 | File "/usr/local/lib/python3.12/json/decoder.py", line 356, in raw_decode
backend-1 | raise JSONDecodeError("Expecting value", s, err.value) from None
backend-1 | json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
backend-1 | INFO: Application startup complete.
backend-1 | INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
postgres-1 | server stopped
Expected vs Actual Behavior
server start
Logs / Screenshots
No response