iac/ansible/roles/minecraft/files/docker-compose.yml
Sergei Poljanski 428df5896d
Some checks failed
deploy / ansible (push) Failing after 17m57s
Pin exact versions of images and actions
Floating tags (17-alpine, 3.4-slim, nginx:alpine, :latest, :debug, @v7)
change under a deploy without anyone deciding it: the storage deploy
moved Postgres to 17.12 on its own because of postgres:17-alpine. Pin
every image and action to its exact current version, so each change
arrives as a reviewed Renovate PR and a rollback is a revert.

Assisted-by: Claude:opus-5-5
2026-11-13 02:46:54 +04:00

15 lines
371 B
YAML

services:
minecraft:
image: eclipse-temurin:21.0.13_9-jre
container_name: minecraft
working_dir: /data
command: java -Xmx4G -Xms2G -jar paper-1.21.11-54.jar nogui
stdin_open: true
tty: true
restart: unless-stopped
stop_grace_period: 2m
ports:
- "25565:25565"
- "19132:19132/udp"
volumes:
- /opt/minecraft:/data