|
@@ -3,7 +3,7 @@ version: '3'
|
|
services:
|
|
services:
|
|
minecraft:
|
|
minecraft:
|
|
build: .
|
|
build: .
|
|
- context: .
|
|
|
|
|
|
+ context:
|
|
args:
|
|
args:
|
|
JAR: https://launcher.mojang.com/v1/objects/bb2b6b1aefcd70dfd1892149ac3a215f6c636b07/server.jar
|
|
JAR: https://launcher.mojang.com/v1/objects/bb2b6b1aefcd70dfd1892149ac3a215f6c636b07/server.jar
|
|
image: mc_java_vanilla:alpine-1.15.2
|
|
image: mc_java_vanilla:alpine-1.15.2
|
|
@@ -13,10 +13,9 @@ services:
|
|
- "8008:25565"
|
|
- "8008:25565"
|
|
volumes:
|
|
volumes:
|
|
- "./worlds:/opt/worlds"
|
|
- "./worlds:/opt/worlds"
|
|
|
|
+ - "./config:/opt/config"
|
|
logging:
|
|
logging:
|
|
driver: "json-file"
|
|
driver: "json-file"
|
|
options:
|
|
options:
|
|
max-size: "200k"
|
|
max-size: "200k"
|
|
max-file: "1"
|
|
max-file: "1"
|
|
-
|
|
|
|
- - "./config:/opt/config"
|
|
|