Install docker + docker compose
https://docs.docker.com/engine/install/ubuntu/
https://docs.docker.com/engine/install/centos/
https://docs.docker.com/compose/install/
-
After installing docker and docker compose, run the comand above inside the root directory:
docker-compose up --build -d
-
Check created containers:
docker ps
-
Access the application using the Server IP on browser, or just localhost(in case you installed locally).
-
To check the inserts on the database, run:
docker exec mysql mysql -pdefpass -e 'SELECT * FROM preferences.preferences';