Skip to content

Instantly share code, notes, and snippets.

@adryanev
Created May 23, 2020 17:19
Show Gist options
  • Save adryanev/bdf585e5ee918149c549c188765b313a to your computer and use it in GitHub Desktop.
Save adryanev/bdf585e5ee918149c549c188765b313a to your computer and use it in GitHub Desktop.
Contoh Homestead.yaml
---
ip: "192.168.10.10"
memory: 1024
cpus: 2
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: ~/Code/php/premenag
to: /home/vagrant/premenag
- map: ~/Code/php/public
to: /home/vagrant/public
sites:
- map: homestead.test
to: /home/vagrant/public
- map: premenag.test
to: /home/vagrant/premenag/web
type: "yii"
- map: phpmyadmin.test
to: /home/vagrant/public/phpmyadmin
databases:
- homestead
- phpmyadmin
- premenag_dev
features:
- mariadb: false
- ohmyzsh: true
- webdriver: false
- mysql8: true
# ports:
# - send: 50000
# to: 5000
# - send: 7777
# to: 777
# protocol: udp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment