mirror of
https://github.com/QingdaoU/OnlineJudgeDeploy.git
synced 2024-10-31 19:57:51 +00:00
Update docker-compose.yml
This commit is contained in:
parent
6ce736cba2
commit
cfa8f15c25
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user