translate compose to run
This commit is contained in:
parent
1a7202e4ce
commit
d93f10468f
1 changed files with 11 additions and 0 deletions
11
server/podman-run.sh
Executable file
11
server/podman-run.sh
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
podman run \
|
||||
--name jre-hl-mc \
|
||||
--tty \
|
||||
--interactive \
|
||||
--publish 25565:25565/tcp \
|
||||
--publish 24454:24454/tcp \
|
||||
--volume ./server:/mnt/server \
|
||||
--workdir /mnt/server \
|
||||
alp-jre-21-hl:latest \
|
||||
java -Xmx4G -Xms1G -jar minecraft_server.jar --nogui
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue