From 4b0b86f22c26e09a447f0adb912cb3be8e5b36cb Mon Sep 17 00:00:00 2001 From: Tom Wiesing Date: Mon, 15 Aug 2022 13:37:16 +0200 Subject: [PATCH] sql: Expose default port to host This port exposes the sql connection to the host on the default (localhost) port --- distillery/resources/compose/sql/docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/distillery/resources/compose/sql/docker-compose.yml b/distillery/resources/compose/sql/docker-compose.yml index f3a102e..2702195 100644 --- a/distillery/resources/compose/sql/docker-compose.yml +++ b/distillery/resources/compose/sql/docker-compose.yml @@ -5,6 +5,8 @@ services: image: mariadb volumes: - "./data/:/var/lib/mysql" + ports: + - 127.0.0.1:3306:3306 environment: # This combination of environment variables will configure a passwordless root user # that can only connect to the container from 'localhost'.