Finally playing nice together

This commit is contained in:
2021-03-07 15:34:35 +11:00
parent 1f4eae697d
commit 7de1083fdd
3 changed files with 35 additions and 11 deletions
+1 -1
View File
@@ -123,7 +123,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);