0
0
mirror of https://github.com/Pumpkin-MC/Pumpkin synced 2025-07-17 02:44:46 +00:00
Files
Pumpkin/docker-compose.yml
Such a big pebble 46b2f1d734 Add security_opt and new restart policy to docker-compose options (#693)
* Add anchored docker-compose security options

* Remove YAML anchor and AppArmor profile

---------

Co-authored-by: BigPebble123 <>
Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
2025-04-28 19:11:15 +02:00

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