docker: update instructions

This commit is contained in:
undefined committed 2021-12-29 18:24:38 +08:00
1 parent 3e7306e232
commit b32e7b53ec
5 files changed
+14 -21

No files matched your search

-5
View File
@@ -1,9 +1,4 @@
#!/bin/sh
ROOT=/root/.config/hydro
mkdir -p $ROOT
if [ ! -f "$ROOT/judge.yaml" ]; then
cp /root/judge.yaml $ROOT
fi
pm2 start sandbox
pm2-runtime start hydrojudge
+5 -5
View File
@@ -1,7 +1,7 @@
hosts:
localhost:
type: hydro # vj4 用户请在此处填写 vj4
server_url: http://oj-backend:8888/ # Hydro 运行的网址
uname: root # 评测账号用户名
password: rootroot # 评测账号密码
detail: true # 默认为 true
type: hydro
server_url: http://oj-backend:8888/
uname: root
password: rootroot
detail: true