dockercraft/compose.yaml
Jeremy McClure cff62979ff
All checks were successful
Docker Build and Push / build (push) Successful in 1m6s
change Eula handling, disable server start
2025-03-29 06:11:18 -04:00

26 lines
525 B
YAML

services:
dockercraft:
image: git.jeremymcclure.com/jeremy/dockercraft:latest
container_name: dockercraft
stdin_open: true
tty: true
environment:
- MC_LOADER=paper
- 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