Web application
- Make sure that docker has been installed
- Build docker image
./build.sh
- Start MySQL server in docker
./start_db.sh
- Start counter app in docker
./start_app.sh
- Web app will be available on
localhost:8000
- ROOT_PASSWORD - root password to connect to database. By default: qwerty
- DB_USER - user name to connect to database. By default: admin
- DB_PASSWORD - user password to connect to database. By default: admin
- DB_HOST - database address. By default: 127.0.0.1
- Rebuild docker image
./build.sh
- Stop docker container
docker stop counter-app
docker rm counter-app
- Start app
./start_app.sh