Repository with docker containers for hangman web app
- mysql container for db
- spring boot container for adding guess
- spring boot container for showing guesses
MySQL database
docker run -d -it --name hangman-mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=hangman -e MYSQL_USER=hangman -e MYSQL_PASSWORD=hangman mysql
CREATE DATABASE hangman;
GRANT ALL PRIVILEGES ON hangman.* TO 'hangman';