eolisation

This commit is contained in:
2023-11-09 15:45:50 +01:00
parent a44ff78795
commit 460bdb3993
444 changed files with 24757 additions and 26 deletions

View File

@ -0,0 +1,2 @@
#!/bin/bash
mariadb mysql -u root -p${MARIADB_ROOT_PASSWORD} -h localhost -e "select 1"

View File

@ -0,0 +1,2 @@
#!/bin/bash
mariadb -u root -p$MARIADB_ROOT_PASSWORD -e "DROP DATABASE IF EXISTS $1;"

View File

@ -0,0 +1,3 @@
#!/bin/bash
mariadb -u root -p$MARIADB_ROOT_PASSWORD < /envole/$1.sql
mariadb -u root -p$MARIADB_ROOT_PASSWORD -e "GRANT ALL PRIVILEGES ON $1.* TO '$MARIADB_USER'@'%';"

View File

@ -0,0 +1 @@
CREATE DATABASE IF NOT EXISTS keycloak;

View File

@ -0,0 +1 @@
CREATE DATABASE IF NOT EXISTS nextcloud;

View File

@ -0,0 +1 @@
CREATE DATABASE IF NOT EXISTS ninegate;