Finally playing nice together

This commit is contained in:
2021-03-07 15:34:04 +11:00
parent ddc07e4605
commit da8bba93eb
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ CMD ["sleep 10 && npm start"]
const sqlfile = `
CREATE DATABASE IF NOT EXISTS ${appName};
CREATE USER IF NOT EXISTS '${appDBUser}'@'%' IDENTIFIED BY '${appDBPass}';
GRANT ALL PRIVILEGES ON ${appName}.* TO '${appDBUser}'@'%';
GRANT ALL PRIVILEGES ON ${appName}.* TO '${appDBUser}'@'%';
`;
fs.writeFileSync('docker-compose.yml', ymlfile);