forked from ratuspro/socialcraft
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
37 lines (35 loc) · 881 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
version: "3.8"
services:
minecraft-server:
image: itzg/minecraft-server:latest
container_name: minecraft-server
ports:
- "25565:25565"
environment:
SERVER_NAME: "Socialcraft-Minecraft-Server"
EULA: "TRUE"
VERSION: "1.12"
MODE: "survival"
ONLINE_MODE: "false"
OPS: "${OPS_PLAYERS}"
MAX_PLAYERS: 9
SPAWN_ANIMALS: "true"
SPAWN_MONSTERS: "false"
SPAWN_NPCS: "false"
PVP: "false"
GENERATE_STRUCTURES: "false"
MAX_WORLD_SIZE: 100
OVERRIDE_SERVER_PROPERTIES: "true"
SPAWN_PROTECTION: "0"
WORLD: /worlds/test-world.zip
#RCON_CMDS_ON_CONNECT: |-
# /give @a baked_potato 64
restart: "no"
user: "${UID}:${GID}"
volumes:
- ./worlds:/worlds:ro
- ./data:/data
logging:
driver: "local"
options:
max-size: "1m"