From 2d2a3e8adaad9747ccba9f842df432045fbe3669 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Tue, 31 Dec 2024 18:32:17 +0100 Subject: [PATCH] Add MariaDB TCP connection (#261) --- .github/workflows/back-end.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/back-end.yml b/.github/workflows/back-end.yml index 2f1a87e..1fd4be0 100644 --- a/.github/workflows/back-end.yml +++ b/.github/workflows/back-end.yml @@ -60,6 +60,8 @@ jobs: #services: # database: # image: "mariadb:11.0.2" + # ports: + # - "3306/tcp" # env: # MYSQL_DATABASE: "cylinder" # MYSQL_USER: "dba" @@ -70,6 +72,7 @@ jobs: # --health-interval 1s # --health-timeout 10s # --health-retries 30 + ## TCP connection: 127.0.0.1:${{ job.services.database.ports['3306'] }} steps: - name: "Set up PHP"