dockercraft/compose.yaml
Jeremy McClure b0c1b07499
All checks were successful
Docker Build and Push / build (push) Successful in 2m25s
Loader version option
2025-06-18 07:52:11 -04:00

33 lines
660 B
YAML

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