Skip to content

Commit

Permalink
Fix docker-compose.yml.sample:
Browse files Browse the repository at this point in the history
changed port directive to expose, to make sure we don't unnecessarily expose port 3306 to the host.
  • Loading branch information
aa-tree committed Jul 3, 2023
1 parent 850b499 commit b69de66
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ services:
image: mysql
command: --default-authentication-plugin=mysql_native_password
restart: always
ports:
- "3306:3306"
expose:
- 3306
networks:
- app-tier
environment:
Expand All @@ -119,4 +119,4 @@ services:
## specific.
############################################################
MYSQL_ALLOW_EMPTY_PASSWORD: ok
MYSQL_ROOT_HOST: '%'
MYSQL_ROOT_HOST: '%'
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b69de66

Please sign in to comment.