Pass requests made by remote servers for media to the media API (#263)
This commit is contained in:
parent
3dd30858d1
commit
9ed609b9df
2 changed files with 56 additions and 41 deletions
83
INSTALL.md
83
INSTALL.md
|
|
@ -108,47 +108,47 @@ The following contains scripts which will run all the required processes in orde
|
|||
|
||||
```
|
||||
|
||||
/media +---------------------------+
|
||||
+--------->| dendrite-media-api-server |
|
||||
| +---------------------------+
|
||||
| :7774
|
||||
|
|
||||
|
|
||||
|/directory+----------------------------------+
|
||||
+--------->| dendrite-public-rooms-api-server |<========++
|
||||
| +----------------------------------+ ||
|
||||
| :7775 | ||
|
||||
| +<-----------+ ||
|
||||
| | ||
|
||||
| /sync +--------------------------+ ||
|
||||
+--------->| dendrite-sync-api-server |<================++
|
||||
| | +--------------------------+ ||
|
||||
| | :7773 | ^^ ||
|
||||
Matrix +------------------+ | | | || client_data ||
|
||||
Clients --->| client-api-proxy |---+ +<-----------+ ++=============++ ||
|
||||
+------------------+ | | || ||
|
||||
:8008 | CS API +----------------------------+ || ||
|
||||
+--------->| dendrite-client-api-server |==++ ||
|
||||
| +----------------------------+ ||
|
||||
| :7771 | ||
|
||||
| | ||
|
||||
+<-----------+ ||
|
||||
| ||
|
||||
| ||
|
||||
| +----------------------+ room_event ||
|
||||
+---------->| dendrite-room-server |===============++
|
||||
| +----------------------+ ||
|
||||
| :7770 ||
|
||||
| ++==========================++
|
||||
+<------------+ ||
|
||||
| | VV
|
||||
| +-----------------------------------+ Matrix
|
||||
| | dendrite-federation-sender-server |------------> Servers
|
||||
| +-----------------------------------+
|
||||
| :7776
|
||||
|
|
||||
+<-----------+
|
||||
|
|
||||
/media +---------------------------+
|
||||
+----------->+------------->| dendrite-media-api-server |
|
||||
^ ^ +---------------------------+
|
||||
| | :7774
|
||||
| |
|
||||
| |
|
||||
| | /directory +----------------------------------+
|
||||
| | +--------->| dendrite-public-rooms-api-server |<========++
|
||||
| | | +----------------------------------+ ||
|
||||
| | | :7775 | ||
|
||||
| | | +<-----------+ ||
|
||||
| | | | ||
|
||||
| | | /sync +--------------------------+ ||
|
||||
| | +--------->| dendrite-sync-api-server |<================++
|
||||
| | | | +--------------------------+ ||
|
||||
| | | | :7773 | ^^ ||
|
||||
Matrix +------------------+ | | | | || client_data ||
|
||||
Clients --->| client-api-proxy |-------+ +<-----------+ ++=============++ ||
|
||||
+------------------+ | | | || ||
|
||||
:8008 | | CS API +----------------------------+ || ||
|
||||
| +--------->| dendrite-client-api-server |==++ ||
|
||||
| | +----------------------------+ ||
|
||||
| | :7771 | ||
|
||||
| | | ||
|
||||
| +<-----------+ ||
|
||||
| | ||
|
||||
| | ||
|
||||
| | +----------------------+ room_event ||
|
||||
| +---------->| dendrite-room-server |===============++
|
||||
| | +----------------------+ ||
|
||||
| | :7770 ||
|
||||
| | ++==========================++
|
||||
| +<------------+ ||
|
||||
| | | VV
|
||||
| | +-----------------------------------+ Matrix
|
||||
| | | dendrite-federation-sender-server |------------> Servers
|
||||
| | +-----------------------------------+
|
||||
| | :7776
|
||||
| |
|
||||
+---------->+ +<-----------+
|
||||
| |
|
||||
Matrix +----------------------+ SS API +--------------------------------+
|
||||
Servers --->| federation-api-proxy |--------->| dendrite-federation-api-server |
|
||||
+----------------------+ +--------------------------------+
|
||||
|
|
@ -222,6 +222,7 @@ This is what Matrix servers will talk to. This is only required if you want to s
|
|||
./bin/federation-api-proxy \
|
||||
--bind-address ":8448" \
|
||||
--federation-api-url "http://localhost:7772" \
|
||||
--media-api-server-url "http://localhost:7774" \
|
||||
```
|
||||
|
||||
### Run a federation api server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue