Created
June 29, 2025 08:02
-
-
Save zohaibhassan156/aaf035ae43c85b02c74b25b4e049c207 to your computer and use it in GitHub Desktop.
docker compose settings for mysql57 for older systems
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3.3' | |
| services: | |
| db: | |
| image: mysql:5.7 | |
| restart: always | |
| environment: | |
| MYSQL_ALLOW_EMPTY_PASSWORD: 1 | |
| command: mysqld --sql_mode="" | |
| ports: | |
| - '3506:3306' | |
| expose: | |
| - '3506' | |
| volumes: | |
| - mysql57:/var/lib/mysql | |
| volumes: | |
| mysql57: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment