ajout de portainer_data apres l'avoir recup dans le container

This commit is contained in:
serveur
2026-10-03 23:07:18 +02:00
parent afc8c25a58
commit b46d55aa48
31 changed files with 1160 additions and 0 deletions
@@ -0,0 +1,40 @@
services:
mc:
image: itzg/minecraft-server
container_name: minecraft_fabric
environment:
EULA: "true"
NO_AUTO_STOP: "true" # <- empêche l'arrêt automatique
MODRINTH_PROJECTS: |
fabric-api
#
# P R O P R I T E S D U S E R V E U R
MAX_MEMORY: 8G
TYPE: FABRIC
VERSION: 1.21.11
FABRIC_LOADER_VERSION: 0.18.3
MOTD: "A %TYPE% §l§cMinecraft§r §nserver (%VERSION%)"
DIFFICULTY: normal
ENABLE_RCON: "true"
RCON_PASSWORD: "bonjourJeSuisUnMotDePasseSecurise"
#
# R C O N R E G L E S
RCON_CMDS_STARTUP: |-
/pregen start 200
/gamerule doFireTick false
/team add New
/team add Old
RCON_CMDS_ON_CONNECT: |-
/team join New @a[team=]
/give @a[team=New] birch_boat
/team join Old @a[team=New]
RCON_CMDS_FIRST_CONNECT: |-
/pregen stop
RCON_CMDS_LAST_DISCONNECT: |-
/kill @e[type=minecraft:boat]
/pregen start 200
ports:
- "26565:25565"
- "26575:25575"
volumes:
- /home/serveur/Serveurs_minecraft/Fabric:/data