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:
Nya Candy 2020-07-30 20:13:38 +08:00 committed by GitHub
parent 71878f93e4
commit c6837b9fdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,8 @@ services:
networks:
- internal_network
- external_network
volumes:
- ./files:/misskey/files
redis:
restart: always