Skip to content

Commit

Permalink
Add port mapping for MySQL service
Browse files Browse the repository at this point in the history
  • Loading branch information
FeloxleF committed Mar 16, 2024
1 parent fddbe25 commit 6e2ebb7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
MYSQL_DATABASE: activmind_test
MYSQL_PASSWORD: root
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
ports:
- 3306:3306

strategy:
max-parallel: 4
Expand All @@ -26,7 +28,7 @@ jobs:


env:
MYSQL_HOST: mysql
MYSQL_HOST: mysql.host.docker.internal. # This is the host name for the mysql service
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down

0 comments on commit 6e2ebb7

Please sign in to comment.