Skip to content

Commit

Permalink
Merge branch '1.0-develop' into fix/4897
Browse files Browse the repository at this point in the history
  • Loading branch information
Boy132 authored Mar 20, 2024
2 parents fba9d0d + 2497819 commit 7ce0254
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 190 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ Stop settling for less. Make game servers a first class citizen on your platform
I would like to extend my sincere thanks to the following sponsors for helping fund Pterodactyl's development.
[Interested in becoming a sponsor?](https://github.com/sponsors/matthewpi)

| Company | About |
|-----------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [**Aussie Server Hosts**](https://aussieserverhosts.com/) | No frills Australian Owned and operated High Performance Server hosting for some of the most demanding games serving Australia and New Zealand. |
| [**BisectHosting**](https://www.bisecthosting.com/) | BisectHosting provides Minecraft, Valheim and other server hosting services with the highest reliability and lightning fast support since 2012. |
| [**MineStrator**](https://minestrator.com/) | Looking for the most highend French hosting company for your minecraft server? More than 24,000 members on our discord trust us. Give us a try! |
| [**VibeGAMES**](https://vibegames.net/) | VibeGAMES is a game server provider that specializes in DDOS protection for the games we offer. We have multiple locations in the US, Brazil, France, Germany, Singapore, Australia and South Africa. |
| Company | About |
|-----------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [**Aussie Server Hosts**](https://aussieserverhosts.com/) | No frills Australian Owned and operated High Performance Server hosting for some of the most demanding games serving Australia and New Zealand. |
| [**BisectHosting**](https://www.bisecthosting.com/) | BisectHosting provides Minecraft, Valheim and other server hosting services with the highest reliability and lightning fast support since 2012. |
| [**MineStrator**](https://minestrator.com/) | Looking for the most highend French hosting company for your minecraft server? More than 24,000 members on our discord trust us. Give us a try! |
| [**VibeGAMES**](https://vibegames.net/) | VibeGAMES is a game server provider that specializes in DDOS protection for the games we offer. We have multiple locations in the US, Brazil, France, Germany, Singapore, Australia and South Africa. |
| [**HostEZ**](https://hostez.io) | US & EU Rust & Minecraft Hosting. DDoS Protected bare metal, VPS and colocation with low latency, high uptime and maximum availability. EZ! |
| [**Blueprint**](https://blueprint.zip/?pterodactyl=true) | Create and install Pterodactyl addons and themes with the growing Blueprint framework - the package-manager for Pterodactyl. Use multiple modifications at once without worrying about conflicts and make use of the large extension ecosystem. |

### Supported Games

Expand Down
231 changes: 55 additions & 176 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 9 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@
pkgs = import nixpkgs {inherit system;};
mkNodePackage = mk-node-package.lib."${system}".mkNodePackage;

php81WithExtensions = with pkgs; (php81.buildEnv {
php = pkgs.php; # PHP 8.2
phpPackages = pkgs.phpPackages; # PHP 8.2

phpWithExtensions = php.buildEnv {
extensions = {
enabled,
all,
Expand All @@ -52,8 +55,8 @@
extraConfig = ''
xdebug.mode=debug
'';
});
composer = with pkgs; (php81Packages.composer.override {php = php81WithExtensions;});
};
composer = phpPackages.composer.override {php = phpWithExtensions;};

caCertificates = pkgs.runCommand "ca-certificates" {} ''
mkdir -p $out/etc/ssl/certs $out/etc/pki/tls/certs
Expand Down Expand Up @@ -201,7 +204,7 @@
};
in {
defaultPackage = panel;
devShell = import ./shell.nix {inherit composer php81WithExtensions pkgs;};
devShell = import ./shell.nix {inherit composer phpWithExtensions pkgs;};

packages = {
inherit panel;
Expand All @@ -224,7 +227,7 @@
mysql80
nodejs_18
nodePackages.yarn
php81WithExtensions
phpWithExtensions
];
pathsToLink = ["/bin" "/etc"];
};
Expand All @@ -242,7 +245,7 @@
caCertificates
caddy
configs
php81WithExtensions
phpWithExtensions

panel
];
Expand Down
4 changes: 2 additions & 2 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
composer ? null,
php81WithExtensions ? null,
phpWithExtensions ? null,
pkgs ? import <nixpkgs> {},
}:
with pkgs;
Expand All @@ -10,7 +10,7 @@ with pkgs;
composer
nodejs_18
nodePackages.yarn
php81WithExtensions
phpWithExtensions
];

shellHook = ''
Expand Down

0 comments on commit 7ce0254

Please sign in to comment.