mirror of
https://github.com/Pumpkin-MC/Pumpkin
synced 2025-07-17 02:44:46 +00:00
* Add anchored docker-compose security options * Remove YAML anchor and AppArmor profile --------- Co-authored-by: BigPebble123 <> Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
21 lines
597 B
YAML
21 lines
597 B
YAML
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
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
restart: unless-stopped
|
|
stdin_open: true
|
|
tty: true
|
|
cap_drop:
|
|
- ALL
|
|
read_only: true
|