Env vars in docker

This commit is contained in:
teresa.delatorre 2021-01-04 18:00:22 +01:00 committed by Yamila Moreno
parent 1ae321e530
commit bc50ddcb99
2 changed files with 15 additions and 0 deletions

View File

@ -45,6 +45,13 @@ 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 Should have the url where this is served: https[://]taiga.mycompany.com
#### Registration Settings
##### `PUBLIC_REGISTER_ENABLED`
If you want to allow a public register, configure this variable to "True". By default is "False".
Should be the same as this var in `taiga-front`.
#### Telemetry Settings #### Telemetry Settings
Telemetry anonymous data is collected in order to learn about the use of Taiga and improve the platform based on real scenarios. Telemetry anonymous data is collected in order to learn about the use of Taiga and improve the platform based on real scenarios.
@ -114,6 +121,11 @@ Where this Taiga instance should be served. It should be the same as `TAIGA_SITE
To connect to the events. This should have the same value as `TAIGA_SITES_DOMAIN`, ie: ws://taiga.mycompany.com To connect to the events. This should have the same value as `TAIGA_SITES_DOMAIN`, ie: ws://taiga.mycompany.com
##### `PUBLIC_REGISTER_ENABLED`
If you want to allow a public register, configure this variable to "true". By default is "false".
Should be the same as this var in `taiga-back`.
##### `GITHUB_CLIENT_ID` ##### `GITHUB_CLIENT_ID`
Used for login with Github. Used for login with Github.

View File

@ -20,6 +20,8 @@ x-environment:
# EMAIL_PORT: 587 # EMAIL_PORT: 587
# EMAIL_HOST_USER: "user" # EMAIL_HOST_USER: "user"
# EMAIL_HOST_PASSWORD: "password" # EMAIL_HOST_PASSWORD: "password"
# Registration
PUBLIC_REGISTER_ENABLED: "False"
# Telemetry settings # Telemetry settings
ENABLE_TELEMETRY: "True" ENABLE_TELEMETRY: "True"
# Rabbitmq settings # Rabbitmq settings
@ -97,6 +99,7 @@ services:
environment: environment:
TAIGA_URL: "http://localhost:9000" TAIGA_URL: "http://localhost:9000"
TAIGA_WEBSOCKETS_URL: "ws://localhost:9000" TAIGA_WEBSOCKETS_URL: "ws://localhost:9000"
PUBLIC_REGISTER_ENABLED: "false"
# Get these in your profile https://github.com/settings/apps # Get these in your profile https://github.com/settings/apps
# or in your organization profile https://github.com/organizations/{ORGANIZATION-SLUG}/settings/applications # or in your organization profile https://github.com/organizations/{ORGANIZATION-SLUG}/settings/applications
GITHUB_CLIENT_ID: "github-client-id" GITHUB_CLIENT_ID: "github-client-id"