admin 6cbc9f3ee1 fixed path to env | vor 2 Jahren | |
---|---|---|
utils | vor 2 Jahren | |
.env.template | vor 2 Jahren | |
.gitignore | vor 2 Jahren | |
README.md | vor 2 Jahren | |
docker-compose.yml | vor 2 Jahren |
Setup the DB Root Password
cp .env.template .env && vi .env
.env
gets stored in the DB during the intial container deployment.
Changes of the file in a later stage have no effect.mysqladmin' -u root password 'new-password'
..utils/create_db.sh <database_name>
<database_name>
is the name and user of the new DBdb_defintion__<database_name>.txt
../utils/db_names.sh
.utils/delete_db.sh <database_name>
docker exec db sh -c 'mariadb-upgrade -p$MYSQL_ROOT_PASSWORD
docker exec db sh -c 'mysql -p$MYSQL_ROOT_PASSWORD < /mnt/backup/backupfile.sql'