Closed bjkeller closed 3 years ago
Just to emphasize the point, with this configuration, if you use the -v
option with docker-compose down
it will blow away the database files. It eliminates the need to manage the files on disk, which is a pain with the current configuration, but obviously there is a tradeoff.
Looks great! I updated the "default.sql" file and added the "create_aquarium_test.sql" file.
@bjkeller I was able to get everything up and running so that is great. The one thing I that would be helpful is instructions or a script so you could use an existing db dump. I was was able to import the db dump I use from nursery via a db GUI but following the documentation to copy the file over did not work.
@gnomicosuw I changed the SQL privileges command to match what I had, and it works. Not sure what the detailed issue was.
@marikoja there was a bad path in the scripts. I also revised the instructions for switching databases, and added a script that will load a sql file to the database
This branch is a revamp of the docker-configuration inherited from Aquarium v2.8.
Specifically,
data/db
directories. This also means using the-v
option ondocker-compose down
will remove the database files.docker/mysql_init
directory rather than a single dump file. This allows for multiple dump files to be loaded from the directory.