mirror of
https://github.com/matrix-org/dendrite
synced 2024-09-07 19:55:39 +02:00
* 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
|