mirror of
https://github.com/taigaio/taiga-docker.git
synced 2025-07-28 16:34:13 +02:00
Add simple/complex configuration for taiga-front
This commit is contained in:
parent
6c88d2e925
commit
74e567c602
@ -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:
|
||||
|
@ -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
|
||||
|
@ -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"]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user