GitBook: [#77] Docker support

This commit is contained in:
OpenSource 2022-08-24 05:26:56 +00:00 committed by gitbook-bot
parent 974367ff24
commit 4bc446f446
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF
4 changed files with 54 additions and 3 deletions

View File

@ -3,13 +3,15 @@
## 📘 Overview
* [🖥 PlayerServers - Overview](README.md)
* [🚀 Plugin Installation Tutorial](overview/installation.md)
* [🚀 Plugin Installation Tutorial](overview/installation/README.md)
* [🛳 Docker support](overview/installation/docker-support.md)
* [📜 Current Config files](overview/config.md)
* [🚫 Limitations](overview/limitations/README.md)
* [Permission-based RAM](overview/limitations/permission-based-ram.md)
* [Permission-based CPU](overview/limitations/permission-based-ram-1.md)
* [Max players limitation](overview/limitations/max-players-limitation.md)
* [Max plugins limitation](overview/limitations/max-plugins-limitation.md)
* [📦 Adding pre-defined plugins](overview/adding-pre-defined-plugins.md)
***

View File

@ -0,0 +1,17 @@
---
description: >-
In the tutorial below, you'll learn how to add pre-defined plugins to the
plugin-installer GUI.
---
# 📦 Adding pre-defined plugins
In order to add plugins to the plugin-installer GUI and make those plugins available to ALL of your players and their servers, you need to navigate to your BungeeCord plugins folder, than go to the PlayerServers folder, and from there, navigate to the `plugins-to-be-added-ingame` subfolder.
After that, put the .jar files of all the plugins you want your players to be able to install on their sub-servers.
{% hint style="warning" %}
WARNING: Please do not put in too much plugins. **You should not have more than 45 plugins available there.** The plugin may handle more, but it is not recommended.
The maximum of allowed plugins is: **75**, and after that number, the plugin will most likely break and not function properly. _Please kindly note that I **will not** support anyone that is adding more than 45 plugins to this directory._
{% endhint %}

View File

@ -55,8 +55,8 @@ After the first boot of the server, you will see some errors generated by the pl
Now navigate to the `plugins folder -> PlayerServers` and open up the config.yml file. It is recommended to open it usign some sort of advanced text editor (like [Notepad++](https://notepad-plus-plus.org) or [VisualStudio Code](https://code.visualstudio.com)). After that, you will have to enter your MySQL informations. If you don't have a MySQL server running already, please follow the link below.
{% content-ref url="../legacy/creating-mysql-database.md" %}
[creating-mysql-database.md](../legacy/creating-mysql-database.md)
{% content-ref url="../../legacy/creating-mysql-database.md" %}
[creating-mysql-database.md](../../legacy/creating-mysql-database.md)
{% endcontent-ref %}
After the configuration of MySQL database, boot up your BungeeCord server. The plugin should successfully launch this time.

View File

@ -0,0 +1,32 @@
---
description: >-
Since PlayerServers v3, we now offer Docker support as well for those that
care about security and network isolation of their subservers.
---
# 🛳 Docker support
## Introduction
Docker adds a secure isolation layer to your PlayerServers, so you can safely allow players to install all sorts of plugins without being afraid of them breaking something. 
## Tutorial
### Docker installation
For a quick install of Docker CE, you can execute the command below:
```bash
curl -sSL https://get.docker.com/ | CHANNEL=stable bash
```
### Setup
After successfully installing docker, you can enable docker support inside your config.yml.
{% code title="Config.yml" overflow="wrap" lineNumbers="true" %}
```yaml
docker:
enabled: true
```
{% endcode %}