[synapse] Add custom modules volume

This commit is contained in:
JuliusFreudenberger 2022-03-01 23:38:37 +01:00
parent 04b6105359
commit 0bcc705aaa

View file

@ -6,6 +6,7 @@ services:
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- /media/matrix/matrix_data:/data - /media/matrix/matrix_data:/data
- custom_modules:/usr/local/lib/python3.8/site-packages/custom_modules
environment: environment:
- VIRTUAL_HOST=matrix.jfreudenberger.de # the domain where the service should be reached - VIRTUAL_HOST=matrix.jfreudenberger.de # the domain where the service should be reached
- VIRTUAL_PORT=8008 # the port the service listens in the container - VIRTUAL_PORT=8008 # the port the service listens in the container
@ -29,6 +30,7 @@ services:
- server - server
volumes: volumes:
custom_modules:
postgres_data: postgres_data:
networks: networks: