mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 06:55:52 +03:00
[PR #2359] [MERGED] Allow override of cookie domains via Docker environment #3879
Labels
No labels
In Process
bug
bug
dev-triage
documentation
duplicate
enhancement
fixed
good first issue
help wanted
integration
invalid
pull-request
question
requires agent update
security
ui tweak
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tacticalrmm#3879
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/amidaware/tacticalrmm/pull/2359
Author: @Thalagyrt
Created: 11/25/2025
Status: ✅ Merged
Merged: 12/1/2025
Merged by: @wh1te909
Base:
develop← Head:patch-docker-entrypoint-cookie-domain📝 Commits (1)
5d1ef67Allow override of cookie domains via Docker environment📊 Changes
3 files changed (+11 additions, -2 deletions)
View changed files
📝
docker/.env.example(+4 -0)📝
docker/containers/tactical/entrypoint.sh(+5 -2)📝
docker/docker-compose.yml(+2 -0)📄 Description
The docker entrypoint.sh sets BASE_DOMAIN based on the configured domains, but doesn't always get it quite right in every configuration.
This patch sets those variables in the entrypoint only if they are not already set, allowing an administrator finer control over them.
Josh and I had a discussion in the development Discord channel about this today. Specifically, my configuration isn't using a wildcard cert, but instead a cert with three CNs on it for
mgmt.example.com,api.mgmt.example.com, andmesh.mgmt.example.com. The default in the Docker entrypoint is causing the app to set the cookie onexample.cominstead ofmgmt.example.com, causing conflicts with other Django applications on other subdomains.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.