all
This commit is contained in:
34
Maison-Connectee/Pterodactyl/README.md
Normal file
34
Maison-Connectee/Pterodactyl/README.md
Normal file
@ -0,0 +1,34 @@
|
||||

|
||||
|
||||
# Pterodactyl
|
||||
|
||||
Conçu dans un souci de sécurité, Pterodactyl exécute tous les serveurs de jeu dans des conteneurs Docker isolés tout en exposant une interface utilisateur belle et intuitive aux administrateurs et aux utilisateurs.
|
||||
|
||||
Pterodactyl prend en charge une grande variété de jeux en utilisant des conteneurs Docker pour isoler chaque instance, vous donnant ainsi la possibilité d'héberger vos jeux à travers le monde sans avoir à surcharger chaque machine physique avec des dépendances supplémentaires.
|
||||
|
||||
# Installation
|
||||
|
||||
Pour utiliser Pterodactyl tout seul
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
Pour utiliser Pterodactyl avec Traefik
|
||||
```bash
|
||||
docker compose -f docker-compose-traefik.yml up -d
|
||||
```
|
||||
|
||||
Pour utiliser Pterodactyl avec Nginx
|
||||
```bash
|
||||
docker compose -f docker-compose-nginx.yml up -d
|
||||
```
|
||||
# Utilisation
|
||||
|
||||
## Accueil
|
||||
|
||||
|
||||
# More info
|
||||
- more information on the website [Tips-Of-Mine](https://www.tips-of-mine.fr/)
|
||||
|
||||
# Buy me a coffe
|
||||
<a href='https://ko-fi.com/R5R2KNI3N' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi4.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
|
78
Maison-Connectee/Pterodactyl/docker-compose.yml
Normal file
78
Maison-Connectee/Pterodactyl/docker-compose.yml
Normal file
@ -0,0 +1,78 @@
|
||||
version: '3.8'
|
||||
x-common:
|
||||
database:
|
||||
&db-environment
|
||||
# Do not remove the "&db-password" from the end of the line below, it is important
|
||||
# for Panel functionality.
|
||||
MYSQL_PASSWORD: &db-password "CHANGE_ME"
|
||||
MYSQL_ROOT_PASSWORD: "CHANGE_ME_TOO"
|
||||
panel:
|
||||
&panel-environment
|
||||
APP_URL: "http://example.com"
|
||||
# A list of valid timezones can be found here: http://php.net/manual/en/timezones.php
|
||||
APP_TIMEZONE: "UTC"
|
||||
APP_SERVICE_AUTHOR: "noreply@example.com"
|
||||
# Uncomment the line below and set to a non-empty value if you want to use Let's Encrypt
|
||||
# to generate an SSL certificate for the Panel.
|
||||
# LE_EMAIL: ""
|
||||
mail:
|
||||
&mail-environment
|
||||
MAIL_FROM: "noreply@example.com"
|
||||
MAIL_DRIVER: "smtp"
|
||||
MAIL_HOST: "mail"
|
||||
MAIL_PORT: "1025"
|
||||
MAIL_USERNAME: " "
|
||||
MAIL_PASSWORD: " "
|
||||
MAIL_ENCRYPTION: "true"
|
||||
|
||||
#
|
||||
# ------------------------------------------------------------------------------------------
|
||||
# DANGER ZONE BELOW
|
||||
#
|
||||
# The remainder of this file likely does not need to be changed. Please only make modifications
|
||||
# below if you understand what you are doing.
|
||||
#
|
||||
services:
|
||||
database:
|
||||
image: mariadb:10.5
|
||||
restart: always
|
||||
command: --default-authentication-plugin=mysql_native_password
|
||||
volumes:
|
||||
- "/srv/appdata/pterodactyl/database:/var/lib/mysql"
|
||||
environment:
|
||||
<<: *db-environment
|
||||
MYSQL_DATABASE: "panel"
|
||||
MYSQL_USER: "pterodactyl"
|
||||
cache:
|
||||
image: redis:alpine
|
||||
restart: always
|
||||
panel:
|
||||
image: ghcr.io/pterodactyl/panel:latest
|
||||
restart: always
|
||||
ports:
|
||||
- "8088:80"
|
||||
- "4143:443"
|
||||
links:
|
||||
- database
|
||||
- cache
|
||||
volumes:
|
||||
- "/srv/appdata/pterodactyl/var/:/app/var/"
|
||||
- "/srv/appdata/pterodactyl/nginx/:/etc/nginx/http.d/"
|
||||
- "/srv/appdata/pterodactyl/certs/:/etc/letsencrypt/"
|
||||
- "/srv/appdata/pterodactyl/logs/:/app/storage/logs"
|
||||
environment:
|
||||
<<: [*panel-environment, *mail-environment]
|
||||
DB_PASSWORD: *db-password
|
||||
APP_ENV: "production"
|
||||
APP_ENVIRONMENT_ONLY: "false"
|
||||
CACHE_DRIVER: "redis"
|
||||
SESSION_DRIVER: "redis"
|
||||
QUEUE_DRIVER: "redis"
|
||||
REDIS_HOST: "cache"
|
||||
DB_HOST: "database"
|
||||
DB_PORT: "3306"
|
||||
networks:
|
||||
default:
|
||||
ipam:
|
||||
config:
|
||||
- subnet: 192.18.0.1/16
|
Reference in New Issue
Block a user