mirror of
https://github.com/QingdaoU/oj-docs.git
synced 2024-12-28 07:21:43 +00:00
feat: add three options of judge server
This commit is contained in:
parent
f110b52cf6
commit
9677929f54
@ -5,7 +5,7 @@
|
||||
### Web Backend
|
||||
|
||||
| Name | Default Value | Description |
|
||||
| ---- | ----- | ----------- |
|
||||
| ---- | ------------- | ----------- |
|
||||
| POSTGRES_HOST | `postgres` | Postgres connection host |
|
||||
| POSTGRES_PORT | `5432` | Postgres connection port |
|
||||
| POSTGRES_DB | `onlinejudge` | Postgres database name |
|
||||
@ -13,10 +13,13 @@
|
||||
| POSTGRES_PASSWORD | `onlinejudge` | Postgres user password |
|
||||
| REDIS_HOST | `redis` | Redis connection host |
|
||||
| REDIS_PORT | `6379` | Redis connection port |
|
||||
| JUDGE_SERVER_TOKEN | (empty) | password used in judge server authentication |
|
||||
| JUDGE_SERVER_TOKEN | (empty) | Password used in judge server authentication |
|
||||
|
||||
### Judge Server
|
||||
|
||||
| Name | Default Value | Description |
|
||||
| ---- | ----- | ----------- |
|
||||
| JUDGE_SERVER_TOKEN | (empty) | password used in judge server authentication |
|
||||
| ---- | ------------- | ----------- |
|
||||
| JUDGE_SERVER_TOKEN | (empty) | Password used in judge server authentication |
|
||||
| BACKEND_URL | (empty) | Judge server will send heartbeats to this URL (API server) every five seconds |
|
||||
| SERVICE_URL | (empty) | API server will send tasks to this URL (judge server) |
|
||||
| judger_debug | (empty) | If value is 1, enable debug logging, judge cases will not be deleted |
|
||||
|
@ -20,7 +20,7 @@
|
||||
zstd -d "<backup file>" | docker compose exec postgres psql
|
||||
```
|
||||
|
||||
## Test case
|
||||
## Testcase
|
||||
|
||||
- backup
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user