1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-11-27 22:38:19 +09:00

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