mirror of
https://github.com/matrix-org/dendrite
synced 2024-11-04 15:08:59 +01:00
41fd15b9b6
* Fix image building with recent docker version * Mount media path in docker to prevent data loss
21 lines
392 B
YAML
21 lines
392 B
YAML
version: "3.4"
|
|
services:
|
|
monolith:
|
|
hostname: monolith
|
|
image: matrixdotorg/dendrite-monolith:latest
|
|
command: [
|
|
"--tls-cert=server.crt",
|
|
"--tls-key=server.key"
|
|
]
|
|
ports:
|
|
- 8008:8008
|
|
- 8448:8448
|
|
volumes:
|
|
- ./config:/etc/dendrite
|
|
- ./media:/var/dendrite/media
|
|
networks:
|
|
- internal
|
|
|
|
networks:
|
|
internal:
|
|
attachable: true
|