dockercraft/compose.yaml

26 lines
550 B
YAML

services:
dockercraft:
image: git.jeremymcclure.com/jeremy/dockercraft:latest
container_name: dockercraft
stdin_open: true
tty: true
environment:
- MC_LOADER=paper # paper, fabric or forge
- MC_VERSION=1.21.4
- JAVA_VERSION=temurin@21
- JAR=server.jar
- MEMORY=2G
- ADD_ARGS=
build:
dockerfile: Dockerfile
context: .
volumes:
- ./data:/data
ports:
- 25565:25565
deploy:
resources:
limits:
memory: 2G
restart: unless-stopped