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)
This commit is contained in:
parent
71878f93e4
commit
c6837b9fdf
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,8 @@ services:
|
|||
networks:
|
||||
- internal_network
|
||||
- external_network
|
||||
volumes:
|
||||
- ./files:/misskey/files
|
||||
|
||||
redis:
|
||||
restart: always
|
||||
|
|
Loading…
Reference in a new issue