From 3f4bd2b067d051362238f249412a17d28a474732 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Sun, 17 Feb 2019 12:29:50 +0100 Subject: [PATCH] update docs --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7e306f5..025163c 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,6 @@ Set the following environment variables: - `MATRIX_URL`: the url of the matrix homeserver - `MATRIX_ID`: the user id of the bot on this server - `MATRIX_PW`: the password for this user -- `ROOM_ID`: the room on which send the notifications ## Dev @@ -20,14 +19,16 @@ pip3 install --user matrix-client ## Prod -With a proxyta.net: -(don't forget about `CHATONS_DOMAIN`, otherwise you will stay on `localhost`) +- Use [Traefik](https://traefik.io/) on the `web` docker network, eg. with + [proxyta.net](https://framagit.org/oxyta.net/proxyta.net) +- Put the configuration into a `.env` file (don't forget about `CHATONS_DOMAIN`, otherwise by default you will stay on + `localhost`) ``` docker-compose up -d ``` -## Test +## Test / Usage ``` curl -d '{"text":"new contrib from toto: http://radio.localhost/map/#44", "key": "secret"}' mwh.localhost