Initial commit: minecraft server setup
Tracks docker-compose config, server scripts, and server properties. Runtime data (world, libraries, versions, logs, jar), credentials, and backup snapshots are gitignored.
This commit is contained in:
17
docker-compose.yml
Normal file
17
docker-compose.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
services:
|
||||
minecraft:
|
||||
image: itzg/minecraft-server:latest
|
||||
container_name: minecraft
|
||||
ports:
|
||||
- "25565:25565"
|
||||
environment:
|
||||
EULA: "TRUE"
|
||||
ONLINE_MODE: "FALSE"
|
||||
TYPE: "VANILLA"
|
||||
VERSION: "26.1.2"
|
||||
MEMORY: "4G"
|
||||
volumes:
|
||||
- ./data:/data
|
||||
restart: unless-stopped
|
||||
stdin_open: true
|
||||
tty: true
|
||||
Reference in New Issue
Block a user