2020-05-21 12:02:28 +00:00
|
|
|
version: "3.4"
|
|
|
|
services:
|
|
|
|
client_api_proxy:
|
|
|
|
hostname: client_api_proxy
|
|
|
|
image: matrixdotorg/dendrite:clientproxy
|
|
|
|
command: [
|
|
|
|
"--bind-address=:8008",
|
2020-08-13 17:27:19 +00:00
|
|
|
"--client-api-server-url=http://client_api:8071",
|
|
|
|
"--sync-api-server-url=http://sync_api:8073",
|
|
|
|
"--media-api-server-url=http://media_api:8074"
|
2020-05-21 12:02:28 +00:00
|
|
|
]
|
|
|
|
volumes:
|
|
|
|
- ./config:/etc/dendrite
|
|
|
|
networks:
|
|
|
|
- internal
|
|
|
|
depends_on:
|
|
|
|
- sync_api
|
|
|
|
- client_api
|
|
|
|
- media_api
|
|
|
|
ports:
|
|
|
|
- "8008:8008"
|
|
|
|
|
|
|
|
client_api:
|
|
|
|
hostname: client_api
|
|
|
|
image: matrixdotorg/dendrite:clientapi
|
|
|
|
command: [
|
|
|
|
"--config=dendrite.yaml"
|
|
|
|
]
|
|
|
|
volumes:
|
|
|
|
- ./config:/etc/dendrite
|
|
|
|
- room_server
|
|
|
|
networks:
|
|
|
|
- internal
|
|
|
|
|
|
|
|
media_api:
|
|
|
|
hostname: media_api
|
|
|
|
image: matrixdotorg/dendrite:mediaapi
|
|
|
|
command: [
|
|
|
|
"--config=dendrite.yaml"
|
|
|
|
]
|
|
|
|
volumes:
|
|
|
|
- ./config:/etc/dendrite
|
|
|
|
networks:
|
|
|
|
- internal
|
|
|
|
|
|
|
|
sync_api:
|
|
|
|
hostname: sync_api
|
|
|
|
image: matrixdotorg/dendrite:syncapi
|
|
|
|
command: [
|
|
|
|
"--config=dendrite.yaml"
|
|
|
|
]
|
|
|
|
volumes:
|
|
|
|
- ./config:/etc/dendrite
|
|
|
|
networks:
|
|
|
|
- internal
|
|
|
|
|
|
|
|
room_server:
|
|
|
|
hostname: room_server
|
|
|
|
image: matrixdotorg/dendrite:roomserver
|
|
|
|
command: [
|
|
|
|
"--config=dendrite.yaml"
|
|
|
|
]
|
|
|
|
volumes:
|
|
|
|
- ./config:/etc/dendrite
|
|
|
|
networks:
|
|
|
|
- internal
|
|
|
|
|
|
|
|
edu_server:
|
|
|
|
hostname: edu_server
|
|
|
|
image: matrixdotorg/dendrite:eduserver
|
|
|
|
command: [
|
|
|
|
"--config=dendrite.yaml"
|
|
|
|
]
|
|
|
|
volumes:
|
|
|
|
- ./config:/etc/dendrite
|
|
|
|
networks:
|
|
|
|
- internal
|
|
|
|
|
|
|
|
federation_api_proxy:
|
|
|
|
hostname: federation_api_proxy
|
|
|
|
image: matrixdotorg/dendrite:federationproxy
|
|
|
|
command: [
|
|
|
|
"--bind-address=:8448",
|
2020-08-13 17:27:19 +00:00
|
|
|
"--federation-api-url=http://federation_api:8072",
|
|
|
|
"--media-api-server-url=http://media_api:8074"
|
2020-05-21 12:02:28 +00:00
|
|
|
]
|
|
|
|
volumes:
|
|
|
|
- ./config:/etc/dendrite
|
|
|
|
depends_on:
|
|
|
|
- federation_api
|
|
|
|
- federation_sender
|
|
|
|
- media_api
|
|
|
|
networks:
|
|
|
|
- internal
|
|
|
|
ports:
|
|
|
|
- "8448:8448"
|
|
|
|
|
|
|
|
federation_api:
|
|
|
|
hostname: federation_api
|
|
|
|
image: matrixdotorg/dendrite:federationapi
|
|
|
|
command: [
|
|
|
|
"--config=dendrite.yaml"
|
|
|
|
]
|
|
|
|
volumes:
|
|
|
|
- ./config:/etc/dendrite
|
|
|
|
networks:
|
|
|
|
- internal
|
|
|
|
|
|
|
|
federation_sender:
|
|
|
|
hostname: federation_sender
|
|
|
|
image: matrixdotorg/dendrite:federationsender
|
|
|
|
command: [
|
|
|
|
"--config=dendrite.yaml"
|
|
|
|
]
|
|
|
|
volumes:
|
|
|
|
- ./config:/etc/dendrite
|
|
|
|
networks:
|
|
|
|
- internal
|
|
|
|
|
|
|
|
key_server:
|
2020-05-27 09:19:24 +00:00
|
|
|
hostname: key_server
|
2020-05-21 12:02:28 +00:00
|
|
|
image: matrixdotorg/dendrite:keyserver
|
|
|
|
command: [
|
|
|
|
"--config=dendrite.yaml"
|
|
|
|
]
|
|
|
|
volumes:
|
|
|
|
- ./config:/etc/dendrite
|
|
|
|
networks:
|
|
|
|
- internal
|
|
|
|
|
2020-05-27 09:19:24 +00:00
|
|
|
server_key_api:
|
|
|
|
hostname: server_key_api
|
|
|
|
image: matrixdotorg/dendrite:serverkeyapi
|
|
|
|
command: [
|
|
|
|
"--config=dendrite.yaml"
|
|
|
|
]
|
|
|
|
volumes:
|
|
|
|
- ./config:/etc/dendrite
|
|
|
|
networks:
|
|
|
|
- internal
|
|
|
|
|
2020-06-19 08:37:19 +00:00
|
|
|
user_api:
|
|
|
|
hostname: user_api
|
|
|
|
image: matrixdotorg/dendrite:userapi
|
|
|
|
command: [
|
|
|
|
"--config=dendrite.yaml"
|
|
|
|
]
|
|
|
|
volumes:
|
|
|
|
- ./config:/etc/dendrite
|
|
|
|
networks:
|
|
|
|
- internal
|
|
|
|
|
2020-06-20 20:28:30 +00:00
|
|
|
appservice_api:
|
|
|
|
hostname: appservice_api
|
|
|
|
image: matrixdotorg/dendrite:appservice
|
|
|
|
command: [
|
|
|
|
"--config=dendrite.yaml"
|
|
|
|
]
|
|
|
|
volumes:
|
|
|
|
- ./config:/etc/dendrite
|
|
|
|
networks:
|
|
|
|
- internal
|
|
|
|
depends_on:
|
|
|
|
- room_server
|
|
|
|
- user_api
|
|
|
|
|
2020-05-21 12:02:28 +00:00
|
|
|
networks:
|
|
|
|
internal:
|
|
|
|
attachable: true
|