Skip to content

Instantly share code, notes, and snippets.

@tournasdim
Last active April 19, 2024 22:42
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 tournasdim/049eca15edd8ed3676c99dae200489fa to your computer and use it in GitHub Desktop.
Save tournasdim/049eca15edd8ed3676c99dae200489fa to your computer and use it in GitHub Desktop.
Homestead.yaml file . Example directives for setting up shared folders (between host and guest machine), defining apache and php8.1 as default directives
---
ip: "192.168.56.56"
memory: 2048
cpus: 2
provider: virtualbox
folders:
- map: C:/Users/User/Documents/laravelstuff/my-projects
to: /home/vagrant/laravelstuff
sites:
- map: homestead1.test
to: /home/vagrant/laravelstuff/homestead1/public
type: apache
php: "8.1"
socket: "/run/php/php8.1-fpm.sock"
databases:
- homestead1
features:
- mariadb: false
- postgresql: false
- ohmyzsh: false
- webdriver: false
services:
- enabled:
- "mysql"
# - disabled:
# - "postgresql@11-main"
#ports:
# - send: 33060 # MySQL/MariaDB
# to: 3306
# - send: 4040
# to: 4040
# - send: 54320 # PostgreSQL
# to: 5432
# - send: 8025 # Mailpit
# to: 8025
# - send: 9600
# to: 9600
# - send: 27017
# to: 27017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment