update
This commit is contained in:
parent
af687fea78
commit
d6b8daaea7
@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
minecraft:
|
minecraft:
|
||||||
image: ubuntu/jre:17_edge
|
image: chainguard/jre:latest
|
||||||
container_name: minecraft-server
|
container_name: minecraft-server
|
||||||
working_dir: /mc-server
|
working_dir: /mc-server
|
||||||
environment:
|
environment:
|
||||||
@ -8,7 +8,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ${MC_DIR}:/mc-server
|
- ${MC_DIR}:/mc-server
|
||||||
command: >
|
command: >
|
||||||
-jar ${JAR_FILE} nogui
|
java -jar ${JAR_FILE} nogui
|
||||||
ports:
|
ports:
|
||||||
- "25565:25565"
|
- "25565:25565"
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
|
Loading…
Reference in New Issue
Block a user