compose: Don't expose MySQL through all interfaces (#435)

Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
Tiago R 2023-12-27 18:36:37 +00:00 committed by GitHub
parent f17232e0c1
commit 00fb71f26d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ services:
MYSQL_USER: zeppelin MYSQL_USER: zeppelin
MYSQL_PASSWORD: ${DOCKER_PROD_MYSQL_PASSWORD?:Missing DOCKER_PROD_MYSQL_PASSWORD} MYSQL_PASSWORD: ${DOCKER_PROD_MYSQL_PASSWORD?:Missing DOCKER_PROD_MYSQL_PASSWORD}
ports: ports:
- ${DOCKER_PROD_MYSQL_PORT:?Missing DOCKER_PROD_MYSQL_PORT}:3306 - 127.0.0.1:${DOCKER_PROD_MYSQL_PORT:?Missing DOCKER_PROD_MYSQL_PORT}:3306
volumes: volumes:
- ./docker/production/data/mysql:/var/lib/mysql - ./docker/production/data/mysql:/var/lib/mysql
command: --authentication-policy=mysql_native_password command: --authentication-policy=mysql_native_password