Hello Team
I have facing issue in docker compose.
want to generate mysql service having custom config and use existing db that will import in volume.
below is content of docker compose
version: “3”
services:
mydb1:
image: mysql:5.6
#build: ./mysql
#command: --default-authentication-plugin=mysql_native_password
ports:
- 7703:3306
environment:
MYSQL_ROOT_PASSWORD: hardik
MYSQL_DATABASE: legacy
volumes:
- “./mysql/data/:/var/lib/mysql:rw”
- “./mysql/conf.d/my-custom.conf:/etc/mysql/conf.d/custom.conf”