- Sample flask service
- Ansible
- git clone https://github.com/Dishair/testproject.git
- ansible-playbook ansible-testproject/tasks/main.yml -i hosts.yml --extra-vars "target=<target_server>"
- Open your browser at http://'hostname':8081
- Done!
- Docker
-
docker build -t testproject .
-
docker run -dp 8080:8080 testproject
-
Done!
-
Open your browser at http://'hostname':8080