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 9417b30d12
commit e8305e52f5

View File

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