mirror of
https://github.com/Pumpkin-MC/Pumpkin.git
synced 2026-08-30 20:14:23 +00:00
Harden docker and other small changes (#695)
* harder better faster stronger * add image to docker compose * Comment out image
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user