diff --git a/README.md b/README.md index b03c760d..14df2c29 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/docker-compose.yml b/docker-compose.yml index e3313361..88358f43 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 diff --git a/taiga-front/conf/conf.json b/taiga-front/conf/conf.json deleted file mode 100644 index e5b762e8..00000000 --- a/taiga-front/conf/conf.json +++ /dev/null @@ -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"] -}