This repository has been archived by the owner on Jul 29, 2024. It is now read-only.
forked from itzg/docker-minecraft-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
59 lines (59 loc) · 1.5 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
version: '2'
volumes:
mc-sharedclasses:
driver: local
services:
mc1:
ports:
- "25565:25565"
volumes:
- /home/dkraemer/mc1:/data
- mc-sharedclasses:/shared
image: luitzifa/minecraft-server-light
environment:
ICON: 'http://i.imgur.com/6V9U5hZ.png'
MOTD: 'strange things gonna happen here'
JVM_OPTS: '-Xmx1024M -Xms1024M -Xshareclasses:cacheDir=/shared'
EULA: 'TRUE'
OPS: 'Luitzifa,nobody'
WHITELIST: 'Luitzifa,nobody'
MODE: 'survival'
DIFFICULTY: 'normal'
ALLOW_NETHER: 'true'
SPAWN_ANIMALS: 'true'
SPAWN_MONSTERS: 'true'
SPAWN_NPCS: 'true'
GENERATE_STRUCTURES: 'true'
UID: 1000
GID: 1000
network_mode: "bridge"
tty: true
stdin_open: true
restart: always
mc2:
ports:
- "25566:25565"
volumes:
- /home/dkraemer/mc2:/data
- mc-sharedclasses:/shared
image: luitzifa/minecraft-server-light
environment:
ICON: 'http://i.imgur.com/6V9U5hZ.png'
MOTD: 'strange things gonna happen here'
JVM_OPTS: '-Xmx1024M -Xms1024M -Xshareclasses:cacheDir=/shared'
EULA: 'TRUE'
OPS: 'Luitzifa,nobody'
WHITELIST: 'Luitzifa,nobody'
MODE: 'creative'
DIFFICULTY: 'normal'
ALLOW_NETHER: 'true'
SPAWN_ANIMALS: 'false'
SPAWN_MONSTERS: 'false'
SPAWN_NPCS: 'false'
GENERATE_STRUCTURES: 'true'
UID: 1000
GID: 1000
network_mode: "bridge"
tty: true
stdin_open: true
restart: always