223 current 2025-10-10 20:52:33 25.05.20251006.20c4598 6.12.50 *
This commit is contained in:
@@ -87,7 +87,7 @@ in
|
||||
];
|
||||
initialScript = pkgs.writeText "minecraft_recpro-init.sql" ''
|
||||
CREATE DATABASE IF NOT EXISTS minecraft_recpro_db;
|
||||
CREATE USER IF NOT EXISTS 'minecraft_recpro'@'localhost' IDENTIFIED BY LOAD_FILE('/run/secrets/minecraft_recpro_db_passwd');
|
||||
CREATE USER IF NOT EXISTS 'minecraft_recpro'@'localhost' IDENTIFIED BY $(cat ${config.sops.secrets."minecraft_recpro_db_passwd".path});
|
||||
GRANT ALL PRIVILEGES ON minecraft_recpro_db.* TO 'minecraft_recpro'@'localhost';
|
||||
FLUSH PRIVILEGES;
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user