mirror of
https://github.com/QingdaoU/OnlineJudgeDeploy.git
synced 2024-12-28 15:31:57 +00:00
feat: replace GHCR with Aliyun registry
This commit is contained in:
parent
712044e990
commit
f98842c67e
@ -6,7 +6,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/redis:/data
|
- ./data/redis:/data
|
||||||
|
|
||||||
oj-postgres:
|
oj-postgres:
|
||||||
image: postgres:10-alpine
|
image: postgres:10-alpine
|
||||||
restart: always
|
restart: always
|
||||||
@ -18,7 +18,7 @@ services:
|
|||||||
- POSTGRES_PASSWORD=onlinejudge
|
- POSTGRES_PASSWORD=onlinejudge
|
||||||
|
|
||||||
oj-judge:
|
oj-judge:
|
||||||
image: ghcr.io/qingdaou/oj-judge:1.6.0
|
image: registry.cn-hongkong.aliyuncs.com/oj-image/judge:1.6.0
|
||||||
restart: always
|
restart: always
|
||||||
read_only: true
|
read_only: true
|
||||||
cap_drop:
|
cap_drop:
|
||||||
@ -39,10 +39,9 @@ services:
|
|||||||
- BACKEND_URL=http://oj-backend:8000/api/judge_server_heartbeat/
|
- BACKEND_URL=http://oj-backend:8000/api/judge_server_heartbeat/
|
||||||
- TOKEN=CHANGE_THIS
|
- TOKEN=CHANGE_THIS
|
||||||
# - judger_debug=1
|
# - judger_debug=1
|
||||||
|
|
||||||
oj-backend:
|
oj-backend:
|
||||||
image: ghcr.io/qingdaou/oj-backend:1.6.0
|
image: registry.cn-hongkong.aliyuncs.com/oj-image/backend:1.6.0
|
||||||
container_name: oj-backend
|
|
||||||
restart: always
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
- oj-redis
|
- oj-redis
|
||||||
|
Loading…
Reference in New Issue
Block a user