Skip to content

Instantly share code, notes, and snippets.

@komplexb

komplexb/db.php Secret

Created October 25, 2015 20:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save komplexb/f1c7f461752e1d91834e to your computer and use it in GitHub Desktop.
Save komplexb/f1c7f461752e1d91834e to your computer and use it in GitHub Desktop.
<?php
/**
* Database Configuration
*
* All of your system's database configuration settings go in here.
* You can see a list of the default settings in craft/app/etc/config/defaults/db.php
*/
return array(
// The database server name or IP address. Usually this is 'localhost' or '127.0.0.1'.
'server' => 'localhost',
// The database server port.
// 'port' => '33060',
// The database username to connect with.
'user' => 'homestead',
// The database password to connect with.
'password' => 'secret',
// The name of the database to select.
'database' => 'my-craft-site',
// The prefix to use when naming tables. This can be no more than 5 characters.
'tablePrefix' => 'craft',
);
---
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox
authorize: /Users/bbuckley/.ssh/id_rsa.pub
keys:
- /Users/bbuckley/.ssh/id_rsa
folders:
- map: /Users/bbuckley/dev/personal/my-craft-site
to: /home/vagrant/sites/my-craft-site
sites:
- map: my-craft-site.dev
to: /home/vagrant/sites/my-craft-site/public
databases:
- homestead
- my-craft-site
variables:
- key: APP_ENV
value: local
# blackfire:
# - id: foo
# token: bar
# client-id: foo
# client-token: bar
# ports:
# - send: 93000
# to: 9300
# - send: 7777
# to: 777
# protocol: udp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment