This app is built using python flask framework and containerized using docker. It shows current Moscow time.
docker build -t tag_name .
docker run yuloskov/time:master
The app will run on port 5000.
To see previous times users got, go to /visits
cd app_python/web
pip install pytest
pytest -v
Run jenkins with
docker run --rm --name jenkins -p 8080:8080 -p 50000:50000 -u 0 -v `pwd`:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock jenkinsci/blueocean
Run terraform with
terraform init
terraform apply
Rin with
cd ansible/playbooks
ansible-playbook -i ../inventory/aws.yml main.yml