dockercraft/compose.yaml
Jeremy McClure aa4b113bfe
All checks were successful
Docker Build and Push / build (push) Successful in 1m5s
change default to paper, and change name of service
2025-03-22 19:57:53 -04:00

25 lines
513 B
YAML

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