Hi!
I would like that on starting the container, if it finds an SQL file in a specific folder, it runs it.
Usually, when using official mariadb / mysql images, I do it by having this volume in my docker-compose for the db service:
volumes:
- "./data/dumps:/docker-entrypoint-initdb.d"
I tried exactly that with adhocore/docker-lemp:8.0 and it does not seem to work. Is there a way to do that?
Thank you!
Alex.
Hi!
I would like that on starting the container, if it finds an SQL file in a specific folder, it runs it.
Usually, when using official mariadb / mysql images, I do it by having this volume in my docker-compose for the
dbservice:I tried exactly that with adhocore/docker-lemp:8.0 and it does not seem to work. Is there a way to do that?
Thank you!
Alex.