Added portainer YAML
This commit is contained in:
parent
64b6e4afd1
commit
5b5fc6a174
24
RLCraft.md
24
RLCraft.md
@ -20,4 +20,26 @@
|
|||||||

|

|
||||||
|
|
||||||
### 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"
|
||||||
|
```
|
||||||
Loading…
Reference in New Issue
Block a user