3%
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
version: '3.8'
|
version: '3.8'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
ma-base:
|
DB:
|
||||||
image: mariadb:latest
|
image: mariadb:latest
|
||||||
container_name: mysql-enzo
|
container_name: DB_Trash
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
MYSQL_ROOT_PASSWORD: Poubelle-2026
|
MYSQL_ROOT_PASSWORD: Doupio_750985$
|
||||||
MYSQL_DATABASE: smart_trash
|
MYSQL_DATABASE: smart_trash
|
||||||
ports:
|
ports:
|
||||||
- "3306:3306"
|
- "3306:3306"
|
||||||
|
|||||||
@@ -26,6 +26,6 @@ CREATE TABLE measurements (
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
CREATE USER IF NOT EXISTS 'web_user'@'%' IDENTIFIED BY 'Poubelle-2026';
|
CREATE USER IF NOT EXISTS 'web_user'@'%' IDENTIFIED BY 'Doupio_750985$';
|
||||||
GRANT ALL PRIVILEGES ON smart_bins.* TO 'web_user'@'%';
|
GRANT ALL PRIVILEGES ON smart_bins.* TO 'web_user'@'%';
|
||||||
FLUSH PRIVILEGES;
|
FLUSH PRIVILEGES;
|
||||||
|
|||||||
Reference in New Issue
Block a user