feat: replace GHCR with Aliyun registry

This commit is contained in:
Mikucat 2024-02-08 15:03:28 +08:00
parent 712044e990
commit f98842c67e
No known key found for this signature in database
GPG Key ID: CE6B09A6F462E04D

View File

@ -6,7 +6,7 @@ services:
restart: always
volumes:
- ./data/redis:/data
oj-postgres:
image: postgres:10-alpine
restart: always
@ -18,7 +18,7 @@ services:
- POSTGRES_PASSWORD=onlinejudge
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
read_only: true
cap_drop:
@ -39,10 +39,9 @@ services:
- BACKEND_URL=http://oj-backend:8000/api/judge_server_heartbeat/
- TOKEN=CHANGE_THIS
# - judger_debug=1
oj-backend:
image: ghcr.io/qingdaou/oj-backend:1.6.0
container_name: oj-backend
image: registry.cn-hongkong.aliyuncs.com/oj-image/backend:1.6.0
restart: always
depends_on:
- oj-redis