taigaio / taiga-docker

Mozilla Public License 2.0
1.22k stars 305 forks source link

[BUG] TAIGA_URL and TAIGA_WEBSOCKETS_URL incorrect in compose file #141

Open Azziii opened 1 month ago

Azziii commented 1 month ago

Describe the bug

When I use this code: ` taiga-front:

image: taigaio/taiga-front:latest
environment:
  TAIGA_URL: "${TAIGA_SCHEME}://${TAIGA_DOMAIN}"
  TAIGA_WEBSOCKETS_URL: "${WEBSOCKETS_SCHEME}://${TAIGA_DOMAIN}"

`

links like this are shown in the browser developer console: ws://taiga.domain.local://taiga.domain.local/events

How can we reproduce the behavior

Everything is configured according to the installation instructions. Additionally: Self-hosted deployment via podman and podman-compose on Rocky 9.3. Taiga deployed behind nginx proxy.

Workarounds

Remove ://${TAIGA_DOMAIN} from URL `
taiga-front:

image: taigaio/taiga-front:latest
environment:
  TAIGA_URL: "${TAIGA_SCHEME}"
  TAIGA_WEBSOCKETS_URL: "${WEBSOCKETS_SCHEME}

`

Desktop (please complete the following information):