forked from Alex/Pterodactyl-Panel
add support for vagrant-dns
This commit is contained in:
parent
e98e4932be
commit
947c8e8e70
@ -75,3 +75,6 @@ echo "You may use the default admin user to login: admin/Ptero123"
|
||||
echo "A normal user has also been created: user/Ptero123"
|
||||
echo "MailHog is available at http://localhost:58025/"
|
||||
echo "Connect to the database using root/pterodactyl or pterodactyl/pterodactyl on localhost:53306"
|
||||
echo "If you want to access the panel using http://pterodactyl.app you can use the vagrant-dns plugin"
|
||||
echo "Install it with 'vagrant plugin install vagrant-dns', then run 'vagrant dns --install' once"
|
||||
echo "On first use you'll have to manually start vagrant-dns with 'vagrant dns --start'"
|
||||
|
3
Vagrantfile
vendored
3
Vagrantfile
vendored
@ -15,4 +15,7 @@ Vagrant.configure("2") do |config|
|
||||
config.vm.network :forwarded_port, guest: 8025, host: 58025
|
||||
config.vm.network :forwarded_port, guest: 3306, host: 53306
|
||||
|
||||
# Config for the vagrant-dns plugin (https://github.com/BerlinVagrant/vagrant-dns)
|
||||
config.dns.tld = "app"
|
||||
config.dns.patterns = [/^pterodactyl.app$/]
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user