From 76dfe3505f888ac32c210cb9b58f852364e76f46 Mon Sep 17 00:00:00 2001 From: Amin Al-Ali Al-Darwish Date: Thu, 28 Apr 2022 14:28:54 +0100 Subject: [PATCH] Update docker-compose.yaml --- react-java-mysql/docker-compose.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/react-java-mysql/docker-compose.yaml b/react-java-mysql/docker-compose.yaml index 1e6b710..10015e5 100644 --- a/react-java-mysql/docker-compose.yaml +++ b/react-java-mysql/docker-compose.yaml @@ -17,6 +17,8 @@ services: image: mariadb:10.6.4-focal # If you really want to use MySQL, uncomment the following line #image: mysql:8.0.19 + ports: + - 3306:3306 environment: - MYSQL_DATABASE=example - MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db-password @@ -45,9 +47,9 @@ services: - react-spring depends_on: - backend - expose: - - 3306 - - 33060 +# expose: +# - 3306 +# - 33060 # volumes: # db-data: {} secrets: