Skip to content
Snippets Groups Projects
Commit e924d0f8 authored by vmadmin's avatar vmadmin
Browse files

Initial Commit

parent a250c693
No related branches found
No related tags found
1 merge request!1Initial Commit
FROM mysql
MAINTAINER fabio.flueckiger@post.ch
ENV MYSQL_USER Gaeste
ENV MYSQL_PASSWORD 123456
ENV MYSQL_DATABASE Gaeste
ENV MYSQL_ROOT_PASSWORD poi3rguhnp23iufhv
ADD prepare_db.sql /docker-entrypoint-initdb.d
EXPOSE 3306
use Gaeste;
Create Table Gaeste(id int primary key auto_increment not null,
vorname varchar(45) not null,
nachname varchar(45) not null,
message varchar(150) not null,
datum varchar(45) not null
);
# CREATE USER 'Gaeste'@'localhost' IDENTIFIED BY '123456';
grant select on Gaeste.* to Gaeste@localhost;
grant update on Gaeste.* to Gaeste@localhost;
grant insert on Gaeste.* to Gaeste@localhost;
grant delete on Gaeste.* to Gaeste@localhost;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment