Created
          March 28, 2020 15:40 
        
      - 
      
- 
        Save vik407/8e9f63f044afee650b56e7ddf9da3789 to your computer and use it in GitHub Desktop. 
    Vagrant Box MySQL Ubuntu Bionic
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| Vagrant.configure("2") do |config| | |
| # Ubuntu version 18 LTS | |
| config.vm.box = "ubuntu/bionic64" | |
| # Forward ports | |
| config.vm.network "forwarded_port", guest: 80, host: 8080 | |
| config.vm.network "forwarded_port", guest: 3306, host: 33306 | |
| # Mapping folders | |
| config.vm.synced_folder ".", "/vagrant_data" | |
| # Enable provisioning with a shell script. Additional provisioners such as | |
| # Ansible, Chef, Docker, Puppet and Salt are also available. Please see the | |
| # documentation for more information about their specific syntax and use. | |
| config.vm.provision "shell", inline: <<-SHELL | |
| apt-get update | |
| sudo apt install mariadb-server phpmyadmin | |
| SHELL | |
| end | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment