Create a fresh Development Environment using Vagrant, Docker, & the NGinx Base Docker Image
This repo is used to create a fresh development environment using Vagrant, Docker, & the NGinx Docker image. This project was attempted because of an issue installing docker, and vagrant, together on one computer. This was causing my work vagrant environment to fail, due to a conflict between virtualbox and Microsoft Hyper-V.
The environment is pretty slick, and has even been enabled to live-update files in the NGinx container, just by editing the src/ directory listed in the repo.
Use the following instructions to set-up, and run the VagrantFile
- Install the following dependencies:
- Oracle VM VirtualBox
- HashiCorp Vagrant
- Vagrant Docker Compose plugin
- once you have the vagrant installed, run
vagrant plugin install vagrant-docker-compose
in either an elevated powershell prompt
- once you have the vagrant installed, run
- Configure the environment how you wish (using instructions in the "Configuration" section), or leave the configuration alone to run it as I've been testing it.
- Open an elevated powershell prompt, cd to the directory you've cloned the repo to, and run
vagrant up
- 0.1.0 - 2017-10-02 - Initial Commit
- Added Files
- configs/
- docker/
- nginx/
- mime.types
- site.template
- docker-compose.yml
- nginx/
- vagrant/
- schemas/
- config-defaults.schema.json
- config.schema.json
- definitions.schema.json
- config.defaults.json
- config.json
- schemas/
- vm/
- apt_get_packages_list.txt
- docker/
- logs/
- scripts/
- ruby/
- configuration/
- factory.rb
- model.rb
- repository.rb
- validator.rb
- helpers/
- collections.rb
- logger.rb
- string.rb
- configuration/
- shell/
- includes/
- logger_functions.sh
- timestamp_functions.sh
- _bootstrapper.sh
- archive_logs.sh
- setup_vm.sh
- includes/
- ruby/
- src/
- index.html
- .gitattributes
- .gitignore
- LICENSE
- README.model
- VagrantFile
- configs/
- Added Files