Skip to content

Commit 947c8e8

Browse files
committed
add support for vagrant-dns
1 parent e98e493 commit 947c8e8

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.dev/vagrant/provision.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,6 @@ echo "You may use the default admin user to login: admin/Ptero123"
7575
echo "A normal user has also been created: user/Ptero123"
7676
echo "MailHog is available at http://localhost:58025/"
7777
echo "Connect to the database using root/pterodactyl or pterodactyl/pterodactyl on localhost:53306"
78+
echo "If you want to access the panel using http://pterodactyl.app you can use the vagrant-dns plugin"
79+
echo "Install it with 'vagrant plugin install vagrant-dns', then run 'vagrant dns --install' once"
80+
echo "On first use you'll have to manually start vagrant-dns with 'vagrant dns --start'"

Vagrantfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,7 @@ Vagrant.configure("2") do |config|
1515
config.vm.network :forwarded_port, guest: 8025, host: 58025
1616
config.vm.network :forwarded_port, guest: 3306, host: 53306
1717

18+
# Config for the vagrant-dns plugin (https://github.com/BerlinVagrant/vagrant-dns)
19+
config.dns.tld = "app"
20+
config.dns.patterns = [/^pterodactyl.app$/]
1821
end

0 commit comments

Comments
 (0)