From 1ae321e5304d78f9ca965e0c6d1a787a66286359 Mon Sep 17 00:00:00 2001 From: Yamila Moreno Date: Wed, 9 Dec 2020 21:04:08 +0100 Subject: [PATCH] Add telemetry to Taiga --- README.md | 21 ++++++++++++++------- docker-compose.yml | 4 ++++ 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f2be2d63..ff1759a7 100644 --- a/README.md +++ b/README.md @@ -31,13 +31,13 @@ This vars will be used to connect to the Taiga database. **Important**: these vars should have the same values as `taiga-db` service vars. -##### `POSTGRES_HOST` +##### `POSTGRES_HOST` Where the database is set. By default, it's meant to be in the same host as the database service so it uses internal docker names. #### Taiga settings -##### `TAIGA_SECRET_KEY` +##### `TAIGA_SECRET_KEY` Is the secret key of Taiga. Should be the same as this var in `taiga-events` and `taiga-async` @@ -45,9 +45,17 @@ Is the secret key of Taiga. Should be the same as this var in `taiga-events` and Should have the url where this is served: https[://]taiga.mycompany.com +#### Telemetry Settings + +Telemetry anonymous data is collected in order to learn about the use of Taiga and improve the platform based on real scenarios. + +##### `ENABLE_TELEMETRY` + +You can opt out by setting this variable to "False". By default is "True". + #### Email Settings -By default, email is configured with the *console* backend, which means that the emails will be shown in the stdout.
+By default, email is configured with the *console* backend, which means that the emails will be shown in the stdout. ##### `ENABLE_EMAIL` @@ -96,14 +104,13 @@ Is the secret erlang cookie. This vars will be used to connect to rabbitmq. - ### taiga-front -##### `TAIGA_URL` +##### `TAIGA_URL` Where this Taiga instance should be served. It should be the same as `TAIGA_SITES_SCHEME`://`TAIGA_SITES_DOMAIN`. -##### `TAIGA_WEBSOCKETS_URL` +##### `TAIGA_WEBSOCKETS_URL` To connect to the events. This should have the same value as `TAIGA_SITES_DOMAIN`, ie: ws://taiga.mycompany.com @@ -185,4 +192,4 @@ Default access for the application is **http://localhost:9000**. ```sh $ docker-compose -f docker-compose.yml -f docker-compose-inits.yml run --rm taiga-manage [COMMAND] -``` \ No newline at end of file +``` diff --git a/docker-compose.yml b/docker-compose.yml index f3cbbb9c..e6b8afe7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,6 +20,8 @@ x-environment: # EMAIL_PORT: 587 # EMAIL_HOST_USER: "user" # EMAIL_HOST_PASSWORD: "password" + # Telemetry settings + ENABLE_TELEMETRY: "True" # Rabbitmq settings # should be the same as in taiga-async-rabbitmq and taiga-events-rabbitmq RABBITMQ_USER: taiga @@ -54,6 +56,8 @@ services: - taiga-db-data:/var/lib/postgresql/data networks: - taiga + ports: + - "5432:5432" taiga-back: image: taigaio/taiga-back:alpha