Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/JoergM/vagrant-demo
Demonstrates some features of Vagrant as Development environment.
https://github.com/JoergM/vagrant-demo
devops devops-tools tomcat vagrant
Last synced: 2 months ago
JSON representation
Demonstrates some features of Vagrant as Development environment.
- Host: GitHub
- URL: https://github.com/JoergM/vagrant-demo
- Owner: JoergM
- License: mit
- Created: 2013-03-24T19:40:31.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-04-05T07:40:55.000Z (almost 12 years ago)
- Last Synced: 2024-08-07T23:43:56.895Z (6 months ago)
- Topics: devops, devops-tools, tomcat, vagrant
- Language: Ruby
- Size: 254 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Purpose
This is the vagrant-machine I used for my talk at Berlin Expert Days 2013.
[There is no My Machine](http://bed-con.org/2013/talks/there-is-no-my-machine/)
It is a simpler version of a developer box that we use at work. Such a developer box
provides all tools a developer needs except the IDE and Version Control. It will usually
be checked in with the main source code.## Basic usage
```
cd vagrant-demo
vagrant up
```# Features
## Vagrant Features in use
The following Vagrant features are used:
* Puppet provisioning
* Port Forwarding
* Private Network
* Synced FoldersThe Vagrant machine uses 10.11.12.13 as IP adress.
## Mongo DB with automatic backup
Mongo datafiles can unfortunatly not be placed in a shared folder.
Thats why this vagrant machine uses mongodump to create a backup of the db all 5 minutes.Use:
```
mongorestore /var/data/mongo
```to recreate your database after vagrant destroy.
## Tomcat for remote debugging
There is a tomcat package installed with some features, that make it useable for remote
working and debugging using an IDE.### Synced folders
The webapps and the log folder are synced folder and
can be used from host. They are synced into```
vagrant-demo/data/tomcat/webapps
vagrant-demo/data/tomcat/logs
```### JMX
The tomcat is configured so that it can be connected via JMX using port 9004.
Try it with jconsole after starting the vagrant machine:```
jconsole 10.11.12.13:9004
```### Debugging
Remote debugging is activated on port 1317.
# License
This repository is release under the [MIT License](http://opensource.org/licenses/MIT)