Added portainer YAML

This commit is contained in:
Jacob Delgado 2023-08-03 01:24:43 -07:00
parent 64b6e4afd1
commit 5b5fc6a174

View File

@ -20,4 +20,26 @@
![](images/2023-08-03_12.56.45AM.png) ![](images/2023-08-03_12.56.45AM.png)
### Server-Side Setup With Portainer ### Server-Side Setup With Portainer
- YAML File for ease of setup
```
version: '3.7'
services:
minecraft:
image: itzg/minecraft-server:java8
container_name: rlcraft
environment:
EULA: "TRUE"
# ENABLE_WHITELIST: "TRUE" # Optional
# ENFORCE_WHITELUST: "TRUE" # Optional
MEMORY: 4G # Set to preferred amount, 4G minimum for modded server
TYPE: FORGE
# OPS: "ImAlpha07" # Set up initial admins
VIEW_DISTANCE: 10
VERSION: 1.12.2 # MC version for RLCraft
FORGE_VERSION: 14.23.5.2860 # Correct Forge version for MC 1.12.2
volumes:
- /your/data/directory:/data # Replace with your directory
ports:
- "25565:25565" # Change first value if you want to run multiple servers Ex:"25585:25565"
```