Harden docker and other small changes (#695)

* harder better faster stronger

* add image to docker compose

* Comment out image
This commit is contained in:
Commandcracker
2025-04-09 08:57:49 +02:00
committed by GitHub
parent 91ef79325a
commit 8210588f47
2 changed files with 9 additions and 0 deletions

View File

@@ -29,3 +29,4 @@ WORKDIR /pumpkin
ENV RUST_BACKTRACE=1
EXPOSE 25565
ENTRYPOINT [ "/bin/pumpkin" ]
HEALTHCHECK CMD nc -z 127.0.0.1 25565 || exit 1

View File

@@ -1,9 +1,17 @@
services:
pumpkin:
# Make sure to change the tag to the pumpkin version you want to use.
# https://github.com/Pumpkin-MC/Pumpkin/pkgs/container/pumpkin/versions?filters%5Bversion_type%5D=tagged
#image: ghcr.io/pumpkin-mc/pumpkin:master
build: .
ports:
- "25565:25565"
volumes:
- ./data:/pumpkin
# Use the following, if you want to make your config immutable
#- ./config:/pumpkin/config:ro
stdin_open: true
tty: true
cap_drop:
- ALL
read_only: true