Traefik-init service generates a dynamic configuration file that contains static configuration elements
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- docker-compose
- Domain
- devops, infrastructure
Research direction
Inspect the traefik-init service and the generated https/dynamic.yml, then compare them with the static Traefik configuration used by Docker Compose. Verify which entrypoints and redirections belong in each configuration scope. Done means a fresh deployment with TRAEFIK_PROTOCOL=https starts without 502 errors and the redirect works correctly.
Written by the indexing model from the issue text.
Description
the traefik-init service attempts to write static configuration (entrypoints and redirections) into a dynamic file provider.
but the issue is that Traefik apparently does not support defining address or redirections within the providers.file scope.
additionally, the redirection logic in the https block is inverted and uses an invalid top-level YAML key (https: instead of http:).
i had a fresh deployments using TRAEFIK_PROTOCOL=https resulting in 502 Bad Gateway and no error logs were produced.
the workaround was to manually recreate https/dynamic.yml removing the https block and and move the http to https redirect to the static Traefik config.
my environment:
Rocket.Chat: 8.3.1
Traefik: v3.4
Docker Compose: 2.34.0
OS: Debian 12 (Bookworm) on Proxmox LXC
- Dominant language
- Shell
- Stars
- 65
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from RocketChat/rocketchat-compose
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
RocketChat/rocketchat-compose#13 · 2 comments · 5 reactions ·
-
mongodb ErrorOpen
Difficulty 2/5 1-3 hours Newbie friendliness 42/100
RocketChat/rocketchat-compose#3 · 7 comments · 4 reactions ·
All issues in RocketChat/rocketchat-compose
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
fosrl/windows-linux#91 ·
Maintainers usually reply within 1 day
-
deb: upgrade skips auto restart and warns when /etc/default/fluentd is removedPossibly taken @NopeCharon claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
fluent/fluent-package-builder#1156 ·
Maintainers usually reply within 1 day
-
agents area: runtime automation chore cli consistency dependencies developer-experience difficulty: easy documentation enhancement good first issue help wanted hygiene json-output priority: P3 starters tests
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
area:claude-code-web bug has repro platform:linux platform:web
Difficulty 1/5 Under an hour Newbie friendliness 66/100
anthropics/claude-code#110168 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
devcontainers/features#1776 · 1 comment ·
Maintainers usually reply within 3 days