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.
74 lines
2.0 KiB
74 lines
2.0 KiB
# Copyright (c) 2018 - 2024, Entgra (Pvt) Ltd. (http://www.entgra.io) All Rights Reserved.
|
|
#
|
|
# Entgra (Pvt) Ltd. licenses this file to you under the Apache License,
|
|
# Version 2.0 (the "License"); you may not use this file except
|
|
# in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing,
|
|
# software distributed under the License is distributed on an
|
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
# KIND, either express or implied. See the License for the
|
|
# specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
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
|