mirror of
https://github.com/moghtech/komodo.git
synced 2026-05-07 02:16:06 -05:00
[GH-ISSUE #790] fails to monitor a container_name that includes a variable from .env #3571
Reference in New Issue
Block a user
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?
Originally created by @LunkSnee on GitHub (Aug 31, 2025).
Original GitHub issue: https://github.com/moghtech/komodo/issues/790
I have a set of stacks that all use the same compose.yaml template file, but with unique project variables. I've pulled this into komodo using "files on server" and it finds the compose and other files to show under "info", however the status stays as "down". Could the monitoring check evaluate the .env variable for the stack?
I set the stack's name in Komodo to "wp-abc" or whatever the ${PROJ} is for that stack.
See my compose file below.
and the .env includes:
@mbecker20 commented on GitHub (Sep 1, 2025):
Komodo should handle this edge case, but this case requires container name to be extracted from "docker compose config", which only happens when Deployed with Komodo. Can you try a single Re/deploy with Komodo, and see if this fixes this issue?
@LunkSnee commented on GitHub (Sep 1, 2025):
yes, after redeploying, it is showing as running! I'm fine with you closing this.