Skip to content

Commit

Permalink
fix: mount web/app/storage
Browse files Browse the repository at this point in the history
  • Loading branch information
renbaoshuo committed Jul 3, 2024
1 parent 8523307 commit 1e60793
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ services:
- uoj-judger
volumes:
- ./uoj_data/web/data:/var/uoj_data
- ./uoj_data/web/storage:/opt/uoj/web/app/storage
ports:
- "80:80"
- "3690:3690"
Expand Down
1 change: 1 addition & 0 deletions web/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ initProgress(){
touch /var/uoj_data/.UOJSetupDone
mkdir -p /opt/uoj/web/app/storage/submission
mkdir -p /opt/uoj/web/app/storage/tmp
mkdir -p /opt/uoj/web/app/storage/paste
chmod -R 777 /opt/uoj/web/app/storage
printf "\n\n***Installation complete. Enjoy!***\n"
}
Expand Down

0 comments on commit 1e60793

Please sign in to comment.