mirror of
https://github.com/QingdaoU/OnlineJudgeDeploy.git
synced 2024-12-28 15:31:57 +00:00
add restart: always
This commit is contained in:
parent
3f6196692a
commit
b0b80dc792
@ -22,6 +22,7 @@ services:
|
|||||||
judge-server:
|
judge-server:
|
||||||
image: registry.cn-hangzhou.aliyuncs.com/onlinejudge/judge_server
|
image: registry.cn-hangzhou.aliyuncs.com/onlinejudge/judge_server
|
||||||
container_name: judge-server
|
container_name: judge-server
|
||||||
|
restart: always
|
||||||
read_only: true
|
read_only: true
|
||||||
cap_drop:
|
cap_drop:
|
||||||
- SETPCAP
|
- SETPCAP
|
||||||
@ -46,6 +47,7 @@ services:
|
|||||||
oj-backend:
|
oj-backend:
|
||||||
image: registry.cn-hangzhou.aliyuncs.com/onlinejudge/oj_backend
|
image: registry.cn-hangzhou.aliyuncs.com/onlinejudge/oj_backend
|
||||||
container_name: oj-backend
|
container_name: oj-backend
|
||||||
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
- oj-redis
|
- oj-redis
|
||||||
- oj-postgres
|
- oj-postgres
|
||||||
|
Loading…
Reference in New Issue
Block a user