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:
|
services:
|
||||||
|
|
||||||
oj-redis:
|
oj-redis:
|
||||||
image: docker.mirrors.ustc.edu.cn/library/redis:4.0-alpine
|
image: redis:4.0-alpine
|
||||||
container_name: oj-redis
|
container_name: oj-redis
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- $PWD/data/redis:/data
|
- $PWD/data/redis:/data
|
||||||
|
|
||||||
oj-postgres:
|
oj-postgres:
|
||||||
image: docker.mirrors.ustc.edu.cn/library/postgres:10-alpine
|
image: postgres:10-alpine
|
||||||
container_name: oj-postgres
|
container_name: oj-postgres
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
@ -20,7 +20,7 @@ services:
|
|||||||
- POSTGRES_PASSWORD=onlinejudge
|
- POSTGRES_PASSWORD=onlinejudge
|
||||||
|
|
||||||
judge-server:
|
judge-server:
|
||||||
image: registry.cn-hangzhou.aliyuncs.com/onlinejudge/judge_server
|
image: qingdaou/judge_server
|
||||||
container_name: judge-server
|
container_name: judge-server
|
||||||
restart: always
|
restart: always
|
||||||
read_only: true
|
read_only: true
|
||||||
@ -43,7 +43,7 @@ services:
|
|||||||
- TOKEN=CHANGE_THIS
|
- TOKEN=CHANGE_THIS
|
||||||
|
|
||||||
oj-backend:
|
oj-backend:
|
||||||
image: registry.cn-hangzhou.aliyuncs.com/onlinejudge/oj_backend
|
image: qingdaou/onlinejudge
|
||||||
container_name: oj-backend
|
container_name: oj-backend
|
||||||
restart: always
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
|
Loading…
Reference in New Issue
Block a user