mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-13 22:02:28 +00:00
20 lines
368 B
YAML
20 lines
368 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
sut:
|
|
depends_on:
|
|
- mc
|
|
image: itzg/mc-monitor:0.6.0
|
|
command: status --host mc --retry-interval 1s --retry-limit 120
|
|
mc:
|
|
restart: "no"
|
|
build:
|
|
context: ..
|
|
args:
|
|
TARGETOS: linux
|
|
TARGETARCH: amd64
|
|
cache_from:
|
|
- itzg/minecraft-server:latest
|
|
environment:
|
|
EULA: "TRUE"
|
|
|