https://github.com/attachmentgenie/vagrant-website
reference implementation of webserver systems
https://github.com/attachmentgenie/vagrant-website
apache haproxy nginx php traefik vagrant
Last synced: about 1 year ago
JSON representation
reference implementation of webserver systems
- Host: GitHub
- URL: https://github.com/attachmentgenie/vagrant-website
- Owner: attachmentgenie
- Created: 2017-08-13T21:24:12.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2022-08-18T21:44:48.000Z (almost 4 years ago)
- Last Synced: 2025-03-29T21:41:21.216Z (about 1 year ago)
- Topics: apache, haproxy, nginx, php, traefik, vagrant
- Language: Ruby
- Homepage:
- Size: 43.9 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vagrant-website
A vagrant setup that creates scaling LAMP stacks.
## Requirements
Virtualbox => https://www.virtualbox.org
Vagrant => http://www.vagrantup.com
vagrant-hostmanager => vagrant plugin install vagrant-hostmanager
vagrant-puppet-install => vagrant plugin install vagrant-puppet-install
vagrant-cachier (optional) => vagrant plugin install vagrant-cachier
## Preparation
git submodule update --init
bundle install
## Setup
vagrant up
## Inspec tests
bundle exec rake
bundle exec rake inspec[centos7]
## TLDR
### (G)UI interfaces
- name: puppetmaster
- name: proxy
public_vhosts:
- platform.website.vagrant:8030
Traefik using consul services to forward traffic to www node platform vhosts
- name: database
- name: www
php: 74
platform_vhosts
- backend.website.vagrant:8000
Apache vhost using php-fpm pool
- backend.website.vagrant:8020
Nginx vhost using php-fpm pool
public_vhosts:
- backend.website.vagrant:8001
Apache vhost using php-fpm pool on the fpm node
- backend.website.vagrant:8021
Nginx vhost using php-fpm pool on the fpm node
- name: fpm
php: 73