Skip to content

Commit 30355f5

Browse files
committed
fix: Map MESSAGE_PLATFORM env var for monocker Discord notifications
The env_file directive passes MONOCKER_MESSAGE_PLATFORM verbatim, but the container expects MESSAGE_PLATFORM. Added explicit mapping in the environment section.
1 parent d13e135 commit 30355f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

services-available/monocker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ services:
1717
TZ: ${TZ}
1818
# Optional label to preface messages. Handy if you are running multiple versions of Monocker
1919
SERVER_LABEL: ${MONOCKER_SERVER_LABEL:-${HOST_NAME}}
20-
# MESSAGE_PLATFORM is set via monocker.env file (loaded by env_file directive)
20+
MESSAGE_PLATFORM: ${MONOCKER_MESSAGE_PLATFORM:-}
2121
# Optional - includes or excludes specified containers - default behaviour is false
2222
LABEL_ENABLE: ${MONOCKER_LABEL_ENABLE:-false}
2323
# Optional - only show when container state changes to being offline (paused, exited, running (unhealthy), or dead) - default is false

0 commit comments

Comments
 (0)