entgra-emqx-docker/docker-compose.yml

74 lines
2.0 KiB
YAML
Raw Permalink Normal View History

2024-07-12 09:04:03 +00:00
# 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.
2023-04-06 04:31:10 +00:00
version: "3.8"
services:
entgra-emqx:
2024-07-12 03:57:04 +00:00
image: registry.entgra.io/entgra-emqx:4.4.11-entgra-v2
2023-04-06 04:31:10 +00:00
container_name: entgra-emqx
restart: always
2023-04-21 17:10:07 +00:00
extra_hosts:
- "host.docker.internal:host-gateway"
2023-04-06 04:31:10 +00:00
ports:
- "1883:1883"
- "8081:8081"
- "8083:8083"
- "8084:8084"
- "8883:8883"
- "18083:18083"
volumes:
- ./static:/opt/emqx/static
2023-04-21 17:10:07 +00:00
- ./configs:/opt/emqx/configs
2023-04-06 04:31:10 +00:00
environment:
2023-04-06 04:31:10 +00:00
# Hostname configurations
2024-07-12 03:57:04 +00:00
- SERVER_HOSTNAME=host_name
2023-04-06 04:31:10 +00:00
# - 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
2023-04-21 17:10:07 +00:00
# - NO_PROXY= comma seperated dns