Created
January 26, 2021 14:01
-
-
Save rameshdahiya/7217cbcc19f442ed89d3f7bc4bf8f46e to your computer and use it in GitHub Desktop.
Docker compose file for spining a MySQL 5.7 database with disabled sql mode
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' | |
services: | |
mysqldb: | |
image: mysql:5.7 | |
restart: always | |
tmpfs: /var/lib/mysql | |
command: --sql_mode="" | |
environment: | |
MYSQL_ROOT_PASSWORD: some-secret | |
ports: | |
- 3306:3306 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment