[GH-ISSUE #916] Allow configuration of MeshCentral SMTP settings in Docker #2509

Closed
opened 2026-03-14 04:17:48 +03:00 by kerem · 5 comments
Owner

Originally created by @joeldeteves on GitHub (Jan 3, 2022).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/916

Is your feature request related to a problem? Please describe.
The MeshCentral config gets overwritten each time the Docker container is restarted. This is fine, but the current entrypoint script does not allow configuration of SMTP settings.

Describe the solution you'd like
Add SMTP variables + config to the tactical-meshcentral container entrypoint script

Describe alternatives you've considered

  • Using an init container to edit the config or mounting the config as a volume (both are messy)

Additional context
See https://info.meshcentral.com/downloads/MeshCentral2/MeshCentral2UserGuide-0.2.9.pdf for more info

Originally created by @joeldeteves on GitHub (Jan 3, 2022). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/916 **Is your feature request related to a problem? Please describe.** The MeshCentral config gets overwritten each time the Docker container is restarted. This is fine, but the current entrypoint script does not allow configuration of SMTP settings. **Describe the solution you'd like** Add SMTP variables + config to the tactical-meshcentral container entrypoint script **Describe alternatives you've considered** - Using an init container to edit the config or mounting the config as a volume (both are messy) **Additional context** See https://info.meshcentral.com/downloads/MeshCentral2/MeshCentral2UserGuide-0.2.9.pdf for more info
kerem closed this issue 2026-03-14 04:17:53 +03:00
Author
Owner

@silversword411 commented on GitHub (Jan 3, 2022):

Ignore me...brain was somewhere else. Meant to hit done on notification. #DontDayDreamAndClearNotificationStreamAtTheSameTime

<!-- gh-comment-id:1004403622 --> @silversword411 commented on GitHub (Jan 3, 2022): Ignore me...brain was somewhere else. Meant to hit done on notification. #DontDayDreamAndClearNotificationStreamAtTheSameTime
Author
Owner

@sadnub commented on GitHub (Jan 5, 2022):

You can use the MESH_PERSISTEN_CONFIG=1 option in the mesh container to avoid the mesh config being overwritten

<!-- gh-comment-id:1006107450 --> @sadnub commented on GitHub (Jan 5, 2022): You can use the MESH_PERSISTEN_CONFIG=1 option in the mesh container to avoid the mesh config being overwritten
Author
Owner

@joeldeteves commented on GitHub (Jan 5, 2022):

Hi @sadnub, it would be nice to have these variables configurable through the Docker environment. Do you mind keeping this one open? I'm happy to work on it and add another PR when I have time.

<!-- gh-comment-id:1006109506 --> @joeldeteves commented on GitHub (Jan 5, 2022): Hi @sadnub, it would be nice to have these variables configurable through the Docker environment. Do you mind keeping this one open? I'm happy to work on it and add another PR when I have time.
Author
Owner

@sadnub commented on GitHub (Jan 10, 2022):

Yeah no problem! Can just add the variables at the top of the mesh container entrypoint

<!-- gh-comment-id:1008922916 --> @sadnub commented on GitHub (Jan 10, 2022): Yeah no problem! Can just add the variables at the top of the mesh container entrypoint
Author
Owner

@wh1te909 commented on GitHub (Jan 11, 2022):

merged

<!-- gh-comment-id:1010204801 --> @wh1te909 commented on GitHub (Jan 11, 2022): merged
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#2509
No description provided.