Docker-Compose/.templates/init-userdb.sql

7 lines
287 B
MySQL
Raw Permalink Normal View History

2024-12-07 22:18:01 +01:00
CREATE USER 'odc'@'%' IDENTIFIED BY '<open-datenschutzcenter-pw>';
CREATE DATABASE odc;
GRANT ALL PRIVILEGES ON odc.* TO 'odc'@'%';
CREATE USER 'keycloak'@'%' IDENTIFIED BY '<keycloak-pw>';
CREATE DATABASE keycloak;
GRANT ALL PRIVILEGES ON keycloak.* TO 'keycloak'@'%';
FLUSH PRIVILEGES;