隐藏自架版mysql端口,避免和宿主机冲突

This commit is contained in:
Easy 2022-09-21 11:25:41 +08:00 committed by GitHub
parent 8e5292acfb
commit b5e6605328
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -11,8 +11,8 @@ services:
environment:
- MYSQL_ROOT_PASSWORD=theVeryp@ssw0rd
- MYSQL_DATABASE=pushdeer
ports:
- '3306:3306'
# ports:
# - '3306:3306'
redis:
image: 'bitnami/redis:6.0.16'
healthcheck:
@ -53,4 +53,4 @@ services:
# - MQTT_PASSWORD=y0urp@ss
# - MQTT_BASE_TOPIC=default
volumes:
mariadb_data:
mariadb_data: