QingdaoU / OnlineJudgeDeploy

538 stars 370 forks source link

Docker 报错 #107

Closed zjx-kimi closed 9 months ago

zjx-kimi commented 9 months ago
root@admin:/home/kimi/OnlineJudgeDeploy# sudo docker-compose up -d
service "oj-backend" depends on undefined service judge-server: invalid compose project
Dorggie commented 9 months ago

It seems like typo. Change depends_on: judge-server --> oj-judge

I also switch the image to original one: oj-judge: image: registry.cn-hangzhou.aliyuncs.com/onlinejudge/judge_server oj-backend: image: registry.cn-hangzhou.aliyuncs.com/onlinejudge/oj_backend

It works for me. Hope it helps!

mikucat0309 commented 9 months ago

Fixed in f98842c67ec25d30641de767a895f2aafeca6e96