summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNya Candy <20502130+Candinya@users.noreply.github.com>2020-07-30 20:13:38 +0800
committerGitHub <noreply@github.com>2020-07-30 21:13:38 +0900
commitc6837b9fdfbc30d8e3ede381293281db2d6364f0 (patch)
tree9d1d4eb37c449f532a57dc249282162c84742251
parent自分のノートにリアクションを押せるように (#6506) (diff)
downloadsharkey-c6837b9fdfbc30d8e3ede381293281db2d6364f0.tar.gz
sharkey-c6837b9fdfbc30d8e3ede381293281db2d6364f0.tar.bz2
sharkey-c6837b9fdfbc30d8e3ede381293281db2d6364f0.zip
Mapping files folder outside the container (#6598)
In order to prevent the loss of files uploaded by users when upgrading Misskey deployed with Docker. **But** it might be necessary to create the folder before `docker-compose up -d` (Not fully tested)
-rw-r--r--docker-compose.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index dbf1549227..df648d291d 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -13,6 +13,8 @@ services:
networks:
- internal_network
- external_network
+ volumes:
+ - ./files:/misskey/files
redis:
restart: always