kind of working

This commit is contained in:
2025-04-11 11:06:01 +02:00
parent 0b7f362c80
commit 3349ea882d
11 changed files with 235 additions and 37 deletions

12
docker/initdb.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
set -e
# Call the original entrypoint script
exec docker-entrypoint.sh
# Run the first script as root
mariadb -h 127.0.0.1 -u root -p"$MYSQL_ROOT_PASSWORD" < /init/01-init.sql
#
## Run the second script as caladmin
mariadb -h 127.0.0.1 -u calcms_admin -pcaladmin000 < /init/02-create.sql