Update docker-compose.yml

This commit is contained in:
李扬 2018-11-05 10:36:05 +08:00 committed by GitHub
parent 6ce736cba2
commit cfa8f15c25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: