mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-13 23:31:34 +00:00
41fd15b9b6
* Fix image building with recent docker version * Mount media path in docker to prevent data loss
22 lines
392 B
YAML
22 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
|