mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
docker: update instructions
This commit is contained in:
1 parent
3e7306e232
commit
b32e7b53ec
5 files changed
+14
-21
No files matched your search
@@ -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
|
||||
@@ -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
|
||||
Reference in new issue
Block a user