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