Add typingserver service to docker-compose (#692)

Signed-off-by: Víctor Cuadrado Juan <me@viccuad.me>
This commit is contained in:
Victor Cuadrado Juan 2019-08-09 12:30:38 +02:00 committed by Andrew Morgan
parent aa0d22bf50
commit 386cc975f0
4 changed files with 17 additions and 1 deletions

View file

@ -58,7 +58,7 @@ docker-compose up kafka zookeeper postgres
and the following dendrite components 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 docker-compose up client_api_proxy
``` ```

View file

@ -114,6 +114,7 @@ listen:
media_api: "media_api:7774" media_api: "media_api:7774"
public_rooms_api: "public_rooms_api:7775" public_rooms_api: "public_rooms_api:7775"
federation_sender: "federation_sender:7776" federation_sender: "federation_sender:7776"
typing_server: "typing_server:7777"
# The configuration for tracing the dendrite components. # The configuration for tracing the dendrite components.
tracing: tracing:

View file

@ -95,6 +95,16 @@ services:
networks: networks:
- internal - 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: federation_api_proxy:
container_name: dendrite_federation_api_proxy container_name: dendrite_federation_api_proxy
hostname: federation_api_proxy hostname: federation_api_proxy

View file

@ -0,0 +1,5 @@
#!/bin/bash
bash ./docker/build.sh
./bin/dendrite-typing-server --config=dendrite.yaml