Mount media path in docker to prevent data loss

This commit is contained in:
stoically 2021-03-03 07:45:15 +01:00
parent 07d46841ad
commit d64c66f745
2 changed files with 2 additions and 0 deletions

View file

@ -12,6 +12,7 @@ services:
- 8448:8448
volumes:
- ./config:/etc/dendrite
- ./media:/var/dendrite/media
networks:
- internal

View file

@ -15,6 +15,7 @@ services:
command: mediaapi
volumes:
- ./config:/etc/dendrite
- ./media:/var/dendrite/media
networks:
- internal