Add environment variable parameter EMQX_NODE_NAME (#2284)

This commit is contained in:
Anye 2024-10-12 16:47:31 +08:00 committed by GitHub
parent ea76bba11f
commit 6b31ae79c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,6 +15,8 @@ services:
volumes:
- ./data:/opt/emqx/data
- ./log:/opt/emqx/log
environment:
- EMQX_NODE_NAME=emqx@${CONTAINER_NAME}
labels:
createdBy: "Apps"
networks: