2021-08-18 16:48:17 +00:00
|
|
|
services:
|
2021-08-19 09:27:39 +00:00
|
|
|
mqtt:
|
2023-09-10 10:17:31 +00:00
|
|
|
restart: never
|
2021-08-18 16:48:17 +00:00
|
|
|
image: vernemq/vernemq:1.11.0
|
|
|
|
environment:
|
|
|
|
- DOCKER_VERNEMQ_ACCEPT_EULA=yes
|
|
|
|
- DOCKER_VERNEMQ_PLUGINS__VMQ_PASSWD=off
|
|
|
|
- DOCKER_VERNEMQ_PLUGINS__VMQ_ACL=off
|
|
|
|
- DOCKER_VERNEMQ_PLUGINS__VMQ_DIVERSITY=on
|
|
|
|
- DOCKER_VERNEMQ_VMQ_DIVERSITY__AUTH_MYSQL__ENABLED=on
|
2021-08-19 09:27:39 +00:00
|
|
|
- DOCKER_VERNEMQ_VMQ_DIVERSITY__MYSQL__HOST=mysql
|
2021-08-18 16:48:17 +00:00
|
|
|
- DOCKER_VERNEMQ_VMQ_DIVERSITY__MYSQL__PORT=3306
|
|
|
|
- DOCKER_VERNEMQ_VMQ_DIVERSITY__MYSQL__USER=root
|
|
|
|
- DOCKER_VERNEMQ_VMQ_DIVERSITY__MYSQL__PASSWORD=MlmAccess
|
|
|
|
- DOCKER_VERNEMQ_VMQ_DIVERSITY__MYSQL__DATABASE=MlmAccess
|
|
|
|
- DOCKER_VERNEMQ_VMQ_DIVERSITY__MYSQL__PASSWORD_HASH_METHOD=password
|
|
|
|
ports:
|
|
|
|
- 1883:1883
|
|
|
|
- 8883:8883
|
|
|
|
- 8888:8888
|
|
|
|
volumes:
|
|
|
|
- ./data/vernemq/data:/vernemq/data
|
|
|
|
- ./data/vernemq/log:/vernemq/log
|
|
|
|
|
2021-08-19 09:27:39 +00:00
|
|
|
mysql:
|
2021-08-18 16:48:17 +00:00
|
|
|
image: mariadb
|
2023-09-10 10:17:31 +00:00
|
|
|
restart: never
|
2021-08-18 16:48:17 +00:00
|
|
|
command: --default-authentication-plugin=mysql_native_password
|
|
|
|
environment:
|
|
|
|
- MYSQL_ROOT_PASSWORD=MlmAccess
|
|
|
|
- MARIADB_DATABASE=MlmAccess
|
|
|
|
volumes:
|
|
|
|
- "./data/mysql:/var/lib/mysql"
|
|
|
|
ports:
|
|
|
|
- 4306:3306
|
|
|
|
|
|
|
|
phpmyadmin:
|
|
|
|
image: phpmyadmin/phpmyadmin
|
|
|
|
restart: always
|
|
|
|
environment:
|
2021-08-19 09:27:39 +00:00
|
|
|
- PMA_HOST=mysql
|
2021-08-18 16:48:17 +00:00
|
|
|
- PMA_USER=root
|
|
|
|
- PMA_PASSWORD=MlmAccess
|
|
|
|
- UPLOAD_LIMIT=512M
|
|
|
|
ports:
|
|
|
|
- "4081:80"
|