Add typingserver service to docker-compose (#692)
Signed-off-by: Víctor Cuadrado Juan <me@viccuad.me>
This commit is contained in:
parent
aa0d22bf50
commit
386cc975f0
|
@ -58,7 +58,7 @@ docker-compose up kafka zookeeper postgres
|
|||
and the following dendrite components
|
||||
|
||||
```
|
||||
docker-compose up client_api media_api sync_api room_server public_rooms_api
|
||||
docker-compose up client_api media_api sync_api room_server public_rooms_api typing_server
|
||||
docker-compose up client_api_proxy
|
||||
```
|
||||
|
||||
|
|
|
@ -114,6 +114,7 @@ listen:
|
|||
media_api: "media_api:7774"
|
||||
public_rooms_api: "public_rooms_api:7775"
|
||||
federation_sender: "federation_sender:7776"
|
||||
typing_server: "typing_server:7777"
|
||||
|
||||
# The configuration for tracing the dendrite components.
|
||||
tracing:
|
||||
|
|
|
@ -95,6 +95,16 @@ services:
|
|||
networks:
|
||||
- internal
|
||||
|
||||
typing_server:
|
||||
container_name: dendrite_typing_server
|
||||
hostname: typing_server
|
||||
entrypoint: ["bash", "./docker/services/typing-server.sh"]
|
||||
build: ./
|
||||
volumes:
|
||||
- ..:/build
|
||||
networks:
|
||||
- internal
|
||||
|
||||
federation_api_proxy:
|
||||
container_name: dendrite_federation_api_proxy
|
||||
hostname: federation_api_proxy
|
||||
|
|
5
docker/services/typing-server.sh
Normal file
5
docker/services/typing-server.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
bash ./docker/build.sh
|
||||
|
||||
./bin/dendrite-typing-server --config=dendrite.yaml
|
Loading…
Reference in a new issue