(feat) add importers

This commit is contained in:
Yamila Moreno 2021-01-07 16:25:39 +01:00 committed by David Barragán Merino
parent c6afcf458a
commit d39a3f1280
2 changed files with 27 additions and 0 deletions

View File

@ -102,6 +102,9 @@ Get these in your profile https://github.com/settings/apps or in your organizati
Used for login with GitLab.
Get these in your profile https://{YOUR-GITLAB}/profile/applications or in your organization profile https://{YOUR-GITLAB}/admin/applications
#### Importers
It's possible to configure different platforms to import projects from them. Make sure that `ENABLE_IMPORTER_XXXX` envvar is configured in both taiga-back (x-environment) and taiga-front. In taiga-back environment variables, it's also necessary to configure different settings depending on the importer.
### taiga-async-rabbitmq
@ -138,6 +141,10 @@ Get these in your profile https://github.com/settings/apps or in your organizati
Used for login with GitLab.
Get these in your profile https://{YOUR-GITLAB}/profile/applications or in your organization profile https://{YOUR-GITLAB}/admin/applications
#### Importers
It's possible to configure different platforms to import projects from them. Make sure that `ENABLE_IMPORTER_XXXX` envvar is configured in both taiga-back (x-environment) and taiga-front.
### taiga-protected
##### `SECRET_KEY`

View File

@ -39,6 +39,20 @@ x-environment:
GITLAB_API_CLIENT_ID: "gitlab-api-client-id"
GITLAB_API_CLIENT_SECRET: "gitlab-api-client-secret"
GITLAB_URL: "gitlab-url"
# IMPORTERS
ENABLE_ASANA_IMPORTER: "False"
ASANA_IMPORTER_APP_ID: "app-id-from-asana"
ASANA_IMPORTER_APP_SECRET: "app-secret-from-asana"
ENABLE_GITHUB_IMPORTER: "False"
GITHUB_IMPORTER_CLIENT_ID: "client-id-from-github"
GITHUB_IMPORTER_CLIENT_SECRET: "client-secret-from-github"
ENABLE_JIRA_IMPORTER: "False"
JIRA_IMPORTER_CONSUMER_KEY: "consumer-key-from-jira"
JIRA_IMPORTER_CERT: "cert-from-jira"
JIRA_IMPORTER_PUB_CERT: "pub-cert-from-jira"
ENABLE_TRELLO_IMPORTER: "False"
TRELLO_IMPORTER_API_KEY: "api-key-from-trello"
TRELLO_IMPORTER_SECRET_KEY: "secret-key-from-trello"
x-volumes:
@ -47,6 +61,7 @@ x-volumes:
- taiga-media-data:/taiga-back/media
# - ./config.py:/taiga-back/settings/config.py:ro
services:
taiga-db:
image: postgres:12.3
@ -107,6 +122,11 @@ services:
# or in your organization profile https://{YOUR-GITLAB}/admin/applications
GITLAB_CLIENT_ID: "gitlab-client-id"
GITLAB_URL: "gitlab-url"
# IMPORTERS
ENABLE_ASANA_IMPORTER: "false"
ENABLE_GITHUB_IMPORTER: "false"
ENABLE_JIRA_IMPORTER: "false"
ENABLE_TRELLO_IMPORTER: "false"
networks:
- taiga
# volumes: