From 96e9fb3655252420bb70f72d5c23ded808caa37b Mon Sep 17 00:00:00 2001 From: Mike Cronce Date: Wed, 13 Jan 2021 18:27:32 -0500 Subject: [PATCH] docker/vttestserver: Add MYSQL_BIND_HOST env Signed-off-by: Mike Cronce --- docker/vttestserver/Dockerfile.mysql57 | 2 +- docker/vttestserver/Dockerfile.mysql80 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/vttestserver/Dockerfile.mysql57 b/docker/vttestserver/Dockerfile.mysql57 index 5e941f67a73..bc88206b304 100644 --- a/docker/vttestserver/Dockerfile.mysql57 +++ b/docker/vttestserver/Dockerfile.mysql57 @@ -55,4 +55,4 @@ COPY --from=builder --chown=vitess:vitess /vt/install /vt VOLUME /vt/vtdataroot USER vitess -CMD /vt/bin/vttestserver -port $PORT -keyspaces $KEYSPACES -num_shards $NUM_SHARDS +CMD /vt/bin/vttestserver -port $PORT -keyspaces $KEYSPACES -num_shards $NUM_SHARDS -mysql_bind_host ${MYSQL_BIND_HOST:-127.0.0.1} diff --git a/docker/vttestserver/Dockerfile.mysql80 b/docker/vttestserver/Dockerfile.mysql80 index eae174dd151..a04e1714f39 100644 --- a/docker/vttestserver/Dockerfile.mysql80 +++ b/docker/vttestserver/Dockerfile.mysql80 @@ -55,4 +55,4 @@ COPY --from=builder --chown=vitess:vitess /vt/install /vt VOLUME /vt/vtdataroot USER vitess -CMD /vt/bin/vttestserver -port $PORT -keyspaces $KEYSPACES -num_shards $NUM_SHARDS +CMD /vt/bin/vttestserver -port $PORT -keyspaces $KEYSPACES -num_shards $NUM_SHARDS -mysql_bind_host ${MYSQL_BIND_HOST:-127.0.0.1}