Fork me on GitHub

Example configuration of config.yml

###
# Configuration for Vagrant
###

# This is used as the hostname of the Vagrant box
name: wordpress

# These are used for migrating database and uploads back and forth with production
# Comment these out if you don't want this integration
production:
  domain: example.seravo.com
  ssh_port: 12345

staging:
  domain: example.seravo.com
  ssh_port: 23456

# Domains are automatically mapped to Vagrant with /etc/hosts modifications
development:
  domains:
    - wordpress.local
    - example.dev
    - www.example.dev

  # If you want other sin your local network (e.g. office) to be able to access
  # the site running on your laptop, activate Avahi / Bonjour / Zeroconf that
  # will advertice *.local domains on the network.
  avahi: true

Changing config.yml

name

Change name in config.yml to change your site name. This is used in quite a few places in the development environment.

For example, with the above config.yml mailcatcher is set up in the address: mailcatcher.example.local.

production

Add domain and ssh_port to sync with your production instance.

staging

Optional: Add domain and ssh_port to sync with your staging (testing shadow) instance.

development

Add new domains under domains before you run vagrant up to use extra domains.

See config-sample.yml for more.