Skip to content

Latest commit

 

History

History
52 lines (27 loc) · 894 Bytes

README.MD

File metadata and controls

52 lines (27 loc) · 894 Bytes

Bitonic - La Nuit de l'info Team :D

Installation

Requirements:

Install FIG at fig.sh

install docker

install docker-enter


$ git clone https://github.com/lighta971/bitonic && cd bitonic

$ cd docker && fig up

$ docker-enter docker_mysql_1

$ mysql_install_db && supervisorctl restart mysql

$ mysql -uroot -e "GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '' WITH GRANT OPTION; FLUSH PRIVILEGES;" `

Usages

Mysql

http://localhost:81/phpmyadmin

Node

http://localhost

terminal: $ docker-enter docker_node_1

Troubleshooting

Mysql can't run (moby/moby#4704 (comment)

sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/

sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld