隐藏自架版mysql端口,避免和宿主机冲突
This commit is contained in:
parent
8e5292acfb
commit
b5e6605328
|
@ -11,8 +11,8 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=theVeryp@ssw0rd
|
- MYSQL_ROOT_PASSWORD=theVeryp@ssw0rd
|
||||||
- MYSQL_DATABASE=pushdeer
|
- MYSQL_DATABASE=pushdeer
|
||||||
ports:
|
# ports:
|
||||||
- '3306:3306'
|
# - '3306:3306'
|
||||||
redis:
|
redis:
|
||||||
image: 'bitnami/redis:6.0.16'
|
image: 'bitnami/redis:6.0.16'
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
@ -53,4 +53,4 @@ services:
|
||||||
# - MQTT_PASSWORD=y0urp@ss
|
# - MQTT_PASSWORD=y0urp@ss
|
||||||
# - MQTT_BASE_TOPIC=default
|
# - MQTT_BASE_TOPIC=default
|
||||||
volumes:
|
volumes:
|
||||||
mariadb_data:
|
mariadb_data:
|
||||||
|
|
Loading…
Reference in New Issue