Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this work on one server? #19

Open
P3ntest opened this issue May 17, 2022 · 9 comments
Open

Does this work on one server? #19

P3ntest opened this issue May 17, 2022 · 9 comments

Comments

@P3ntest
Copy link

P3ntest commented May 17, 2022

Hey! If I just point everything to the same domain can I get this running on only one server?

Thanks in advance :)

@EdyTheCow
Copy link
Owner

It could be possible with some tinkering but it's not recommended. Pterodactyl wasn't designed to run the panel and wings on the same server. Panel itself doesn't require a lot of resources, you could get a cheap VPS and it will run just fine.

@iproxy
Copy link

iproxy commented Jun 3, 2022

It does work on one server and the same domain. I have my setup with UnRaid, Traefik, and Cloudflare. I had to do quite a bit of tinkering to get it working properly, but everything works just fine. It took me about a week just trying to get it all working though. The number one issue I had was getting the Wings connected, but it ended up being CORS-related. I had to create a middleware with Traefik / create labels for it. It probably would have taken me less time setting it all up, but I'm still getting used to Traefik.

@SeanMcTG
Copy link

It does work on one server and the same domain. I have my setup with UnRaid, Traefik, and Cloudflare. I had to do quite a bit of tinkering to get it working properly, but everything works just fine. It took me about a week just trying to get it all working though. The number one issue I had was getting the Wings connected, but it ended up being CORS-related. I had to create a middleware with Traefik / create labels for it. It probably would have taken me less time setting it all up, but I'm still getting used to Traefik.

What labels did you use to get passed the CORS issues. I'm currently running into the same errors and can't for the life of me fix it.

@treierxyz
Copy link

It does work on one server and the same domain. I have my setup with UnRaid, Traefik, and Cloudflare. I had to do quite a bit of tinkering to get it working properly, but everything works just fine. It took me about a week just trying to get it all working though. The number one issue I had was getting the Wings connected, but it ended up being CORS-related. I had to create a middleware with Traefik / create labels for it. It probably would have taken me less time setting it all up, but I'm still getting used to Traefik.

I would also like some help with this.

@kraoc
Copy link

kraoc commented Oct 8, 2022

It could be possible with some tinkering but it's not recommended. Pterodactyl wasn't designed to run the panel and wings on the same server. Panel itself doesn't require a lot of resources, you could get a cheap VPS and it will run just fine.

I use Ptero full :p (Ptero + Wings + all related to ptero install) on a Raspberry Pi... So it run smoothly on a single machine.
I don't say it has heavy performances but I run a minecraft server under Ptero like this.
Reason to use ptero is to have an ide to switch between worlds without launching a shell :p

@cskujawa
Copy link

cskujawa commented Jan 3, 2023

@P3ntest, @SeanMcTG, and @treierxyz.

I used EdyTheCow's work here as a reference for getting started.

I deployed Pterodactyl Wings and Pterodactyl Panel on my Ubuntu 22.04 server inside an existing hobby docker-compose project. I didn't want to learn Traefik, so I switched everything to work with my existing NGINX setup.

I tried to document all the hurdles and notes I could for this, and I provided some example files and all those notes here.
https://github.com/cskujawa/pterodactyl-single-server-docker-compose

If anyone has questions about my setup, feel free to reach out, I will gladly assist.

@EdyTheCow
Copy link
Owner

@P3ntest, @SeanMcTG, and @treierxyz.

I used EdyTheCow's work here as a reference for getting started.

I deployed Pterodactyl Wings and Pterodactyl Panel on my Ubuntu 22.04 server inside an existing hobby docker-compose project. I didn't want to learn Traefik, so I switched everything to work with my existing NGINX setup.

I tried to document all the hurdles and notes I could for this, and I provided some example files and all those notes here.
https://github.com/cskujawa/pterodactyl-single-server-docker-compose

If anyone has questions about my setup, feel free to reach out, I will gladly assist.

That's extremely well documented guide! Do you mind if I add this as a reference link in my guide? So it's more visible for anyone else looking for a single server setup. My guide was never meant to be single server, but I am sure there's many others who might be interested in the single server guide.

@kraoc
Copy link

kraoc commented Jan 3, 2023

Another guide for french reading peoples 📦
https://infos.zogg.fr/pterodactyl/

Docker + Traefik (or Caddy) + Panel + Wings

(config files are commented in english)

@cskujawa
Copy link

@P3ntest, @SeanMcTG, and @treierxyz.
I used EdyTheCow's work here as a reference for getting started.
I deployed Pterodactyl Wings and Pterodactyl Panel on my Ubuntu 22.04 server inside an existing hobby docker-compose project. I didn't want to learn Traefik, so I switched everything to work with my existing NGINX setup.
I tried to document all the hurdles and notes I could for this, and I provided some example files and all those notes here.
https://github.com/cskujawa/pterodactyl-single-server-docker-compose
If anyone has questions about my setup, feel free to reach out, I will gladly assist.

That's extremely well documented guide! Do you mind if I add this as a reference link in my guide? So it's more visible for anyone else looking for a single server setup. My guide was never meant to be single server, but I am sure there's many others who might be interested in the single server guide.

Absolutely, link away!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants