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