You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
entgra-emqx-docker/docker-compose.yml

58 lines
1.4 KiB

version: "3.8"
services:
entgra-emqx:
image: registry.entgra.io/entgra-emqx:4.4.11-entgra-v2
container_name: entgra-emqx
restart: always
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- "1883:1883"
- "8081:8081"
- "8083:8083"
- "8084:8084"
- "8883:8883"
- "18083:18083"
volumes:
- ./static:/opt/emqx/static
- ./configs:/opt/emqx/configs
environment:
# Hostname configurations
- SERVER_HOSTNAME=host_name
# - MGT_HTTPS_PORT=9443
# - MGT_HTTP_PORT=9763
#
# - GATEWAY_HOSTNAME=localhost
# - GATEWAY_HTTPS_PORT=8243
# - GATEWAY_HTTP_PORT=8280
# - GATEWAY_CARBON_HTTPS_PORT=9443
# - GATEWAY_CARBON_HTTP_PORT=9763
#
# - KM_HOSTNAME=localhost
# - KM_HTTPS_PORT=9443
# DB configurations
# - DB_HOST=127.0.0.1
# - DB_USERNAME=root
# - DB_PASSWORD=root
# Super admin user configurations
# - SUPER_ADMIN_USERNAME=admin
# - SUPER_ADMIN_PASSWORD=admin
# IP configurations
# - NODE_TYPE=apim1
# - NODE_1=10.207.161.21
# - NODE_2=10.207.161.22
# Proxy configurtations
# - HTTP_PROXY=ip or hostname
# - HTTPS_PROXY=ip or hostname
# - http_proxy=ip or hostname
# - https_proxy=ip or hostname
# - no_proxy= comma seperated dns
# - NO_PROXY= comma seperated dns