mariadb and nginx works both with debian and alpine

+ makefile a little clean up
This commit is contained in:
hugo gogo
2022-09-18 16:39:13 +02:00
parent 5d01ad0fdc
commit 9708715bb5
9 changed files with 134 additions and 67 deletions

View File

@@ -0,0 +1,5 @@
USE mysql;
CREATE DATABASE IF NOT EXISTS ${DB_NAME};
CREATE USER IF NOT EXISTS '${DB_USER}'@'localhost' IDENTIFIED BY '${DB_PSWD}';
GRANT ALL PRIVILEGES ON ${DB_NAME}.* TO '${DB_USER}'@'localhost' with grant option;