Skip to content

Commit

Permalink
Merge pull request #517 from Leopere/patch-1
Browse files Browse the repository at this point in the history
Please don't bind mysql to all interfaces with default credentials in Docker-compose
  • Loading branch information
turbo124 authored Jun 23, 2024
2 parents 47e5c41 + 6a05bdb commit 303bc81
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ services:
# For auto DB backups comment out image and use the build block below
# build:
# context: ./config/mysql
ports:
- "3305:3306"
restart: always
env_file: env
volumes:
Expand Down

1 comment on commit 303bc81

@engemil
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@turbo124 Should the replacement be to use expose instead? or will it not be able to interact if port 3305 or 3306 is not exposed?

expose:
   - 3306

Please sign in to comment.