From 7c01344e86b7bd9429a6f1c1f6ab9ae0165bf2a2 Mon Sep 17 00:00:00 2001 From: zema1 Date: Wed, 1 Nov 2017 22:29:14 +0800 Subject: [PATCH] update docker-compose file --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 9bbc14e..defbe05 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -30,6 +30,7 @@ services: - $PWD/log:/data/log - $PWD/data/test_case:/data/test_case - $PWD/data/avatar:/data/avatar + - $PWD/data/upload:/data/upload environment: - REDIS_HOST=redis - REDIS_PORT=6379 @@ -75,6 +76,7 @@ services: volumes: - $PWD/OnlineJudgeFE:/OJ_FE - $PWD/data/avatar:/data/avatar + - $PWD/data/upload:/data/upload - $PWD/log:/var/log/nginx ports: - "0.0.0.0:80:80"