Add simple/complex configuration for taiga-front

This commit is contained in:
Yamila Moreno 2020-09-30 15:34:24 +02:00 committed by Juanfran
parent 6c88d2e925
commit 74e567c602
3 changed files with 10 additions and 30 deletions

View File

@ -26,6 +26,10 @@ Besides, `POSTGRES_HOST` where the database is set. By default, it's meant to be
`TAIGA_PORT` should be the same as the exposed port in the `taiga-gateway`. Default is 9000.
### Front: taiga-front
`TAIGA_PORT` should be the same as the exposed port in the `taiga-gateway`. Default is 9000.
## Complex customization
For a complex customization, you can use configuration files, mapped to a specific directories inside the containers.
@ -36,6 +40,10 @@ Map a Python configuration file to `/taiga-back/settings/config.py`. You can use
**Important**: if you use your own configuration file, don't forget to add contribs to `INSTALLED_APPS` (check the example `config.py`).
### Front: taiga-front
Map a `conf.json`configuration file to `/usr/share/nginx/html/conf.json`. You can use (this file)[https://github.com/taigaio/taiga-front/blob/taiga-6/docker/conf.json.template] as an example.
## Before running
You have to configure an admin user:

View File

@ -26,8 +26,8 @@ services:
taiga-front:
image: taigaio/taiga-front:alpha
volumes:
- ./taiga-front/conf/conf.json:/usr/share/nginx/html/conf.json
environment:
TAIGA_PORT: 9000
taiga-gateway:
image: nginx:1.19-alpine

View File

@ -1,28 +0,0 @@
{
"api": "http://localhost:9000/api/v1/",
"eventsUrl": null,
"eventsMaxMissedHeartbeats": 5,
"eventsHeartbeatIntervalTime": 60000,
"eventsReconnectTryInterval": 10000,
"debug": true,
"debugInfo": false,
"defaultLanguage": "en",
"themes": ["taiga"],
"defaultTheme": "taiga",
"defaultLoginEnabled": true,
"publicRegisterEnabled": true,
"feedbackEnabled": true,
"supportUrl": "https://tree.taiga.io/support/",
"privacyPolicyUrl": null,
"termsOfServiceUrl": null,
"GDPRUrl": null,
"maxUploadFileSize": null,
"contribPlugins": [
"/plugins/slack/slack.json"
],
"tagManager": { "accountId": null },
"tribeHost": null,
"importers": [],
"gravatar": false,
"rtlLanguages": ["fa"]
}