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