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