Updated docker compose yaml indentation
This commit is contained in:
parent
55639b0add
commit
3269737c6c
|
@ -2,20 +2,20 @@ version: '3.8'
|
|||
|
||||
services:
|
||||
mysql-service:
|
||||
image: "mysql/mysql-server:8.0.30"
|
||||
container_name: mysql-db
|
||||
command: [ "mysqld",
|
||||
"--require_secure_transport=ON",
|
||||
"--default_authentication_plugin=mysql_native_password",
|
||||
"--general_log=ON" ]
|
||||
ports:
|
||||
- "3306:3306"
|
||||
volumes:
|
||||
- type: bind
|
||||
source: ./data
|
||||
target: /var/lib/mysql
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_HOST: "%"
|
||||
MYSQL_ROOT_PASSWORD: "Password2022"
|
||||
MYSQL_DATABASE: test_db
|
||||
image: "mysql/mysql-server:8.0.30"
|
||||
container_name: mysql-db
|
||||
command: [ "mysqld",
|
||||
"--require_secure_transport=ON",
|
||||
"--default_authentication_plugin=mysql_native_password",
|
||||
"--general_log=ON" ]
|
||||
ports:
|
||||
- "3306:3306"
|
||||
volumes:
|
||||
- type: bind
|
||||
source: ./data
|
||||
target: /var/lib/mysql
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_HOST: "%"
|
||||
MYSQL_ROOT_PASSWORD: "Password2022"
|
||||
MYSQL_DATABASE: test_db
|
Loading…
Reference in New Issue