mirror of
https://github.com/QingdaoU/OnlineJudgeDeploy.git
synced 2024-10-31 19:57:51 +00:00
use images from docker hub
This commit is contained in:
parent
119d836b83
commit
ee64b67653
@ -2,14 +2,14 @@ version: "3"
|
||||
services:
|
||||
|
||||
oj-redis:
|
||||
image: docker.mirrors.ustc.edu.cn/library/redis:4.0-alpine
|
||||
image: redis:4.0-alpine
|
||||
container_name: oj-redis
|
||||
restart: always
|
||||
volumes:
|
||||
- $PWD/data/redis:/data
|
||||
|
||||
oj-postgres:
|
||||
image: docker.mirrors.ustc.edu.cn/library/postgres:10-alpine
|
||||
image: postgres:10-alpine
|
||||
container_name: oj-postgres
|
||||
restart: always
|
||||
volumes:
|
||||
@ -20,7 +20,7 @@ services:
|
||||
- POSTGRES_PASSWORD=onlinejudge
|
||||
|
||||
judge-server:
|
||||
image: registry.cn-hangzhou.aliyuncs.com/onlinejudge/judge_server
|
||||
image: qingdaou/judge_server
|
||||
container_name: judge-server
|
||||
restart: always
|
||||
read_only: true
|
||||
@ -43,7 +43,7 @@ services:
|
||||
- TOKEN=CHANGE_THIS
|
||||
|
||||
oj-backend:
|
||||
image: registry.cn-hangzhou.aliyuncs.com/onlinejudge/oj_backend
|
||||
image: qingdaou/onlinejudge
|
||||
container_name: oj-backend
|
||||
restart: always
|
||||
depends_on:
|
||||
|
Loading…
Reference in New Issue
Block a user