https://github.com/willis7/infra-n-app-automation
Vagrant, Amazon AWS, Docker, Gradle and Microservices
https://github.com/willis7/infra-n-app-automation
java provision shell vagrant
Last synced: 7 months ago
JSON representation
Vagrant, Amazon AWS, Docker, Gradle and Microservices
- Host: GitHub
- URL: https://github.com/willis7/infra-n-app-automation
- Owner: willis7
- Created: 2015-03-09T21:46:07.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-05-05T20:11:52.000Z (over 10 years ago)
- Last Synced: 2025-04-13T17:00:00.012Z (7 months ago)
- Topics: java, provision, shell, vagrant
- Language: Java
- Size: 230 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.asciidoc
Awesome Lists containing this project
README
# infra-n-app-automation
An example of:
* Vagrant
* Amazon AWS
* Ansible
* Docker
* Gradle
* Microservices with SpringBoot
The blog entries can be found here:
. https://willis7.github.io/blog/2015/03/vagrant-aws-docker-gradle.html[Part 1]
. https://willis7.github.io/blog/2015/03/vagrant-aws-docker-gradle-pt2.html[Part 2]
. https://willis7.github.io/blog/2015/03/vagrant-aws-docker-gradle-pt3.html[Part 3]
. https://willis7.github.io/blog/2015/03/vagrant-aws-docker-gradle-pt4.html[Part 4]
=== Instructions
# Build the source code and run unit tests
$ cd app
$ .gradlew clean build
# Create and provision a VM
$ cd ..
$ vagrant up
# ssh into the box
$ vagrant ssh
# cd to the docker scripts
$ cd /vagrant/docker/
# docker build
$ . docker-build.sh
# docker run
$ . docker-run.sh
# test service running
$ curl localhost:8080
Greetings from Spring Boot!