duck1123
6/12/2016 - 4:02 PM

Minecraft Compose

Minecraft Compose

Minecraft:
  scale: 1
  health_check:
    port: 25565
    interval: 2000
    initializing_timeout: 6000000
    unhealthy_threshold: 3
    strategy: recreate
    response_timeout: 2000
    healthy_threshold: 2
MinecraftLB:
  scale: 1
  health_check:
    port: 42
    interval: 2000
    unhealthy_threshold: 3
    healthy_threshold: 2
    response_timeout: 2000
Minecraft:
  environment:
    DIFFICULTY: normal
    EULA: 'TRUE'
    MODE: survival
    MOTD: KRONK Ltd.
    OPS: duck112358
    PVP: 'false'
    SEED: ''
    VERSION: 1.7.10
    WHITELIST: ''
    WORLD: ''
    FORGEVERSION: 10.13.4.1448
    TYPE: FORGE
  labels:
    io.rancher.container.pull_image: always
  tty: true
  image: itzg/minecraft-server
  volumes:
  - minecraft-data:/data
  - minecraft-mods:/data/mods
  - minecraft-config:/data/config
  - minecraft-backups:/data/backups
  stdin_open: true
MinecraftLB:
  ports:
  - 25565:25565/tcp
  tty: true
  image: rancher/load-balancer-service
  links:
  - Minecraft:Minecraft
  stdin_open: true