From f98842c67ec25d30641de767a895f2aafeca6e96 Mon Sep 17 00:00:00 2001 From: Mikucat Date: Thu, 8 Feb 2024 15:03:28 +0800 Subject: [PATCH] feat: replace GHCR with Aliyun registry --- docker-compose.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index bc32034..d75273b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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