mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
45 lines
761 B
YAML
45 lines
761 B
YAML
|
version: '3'
|
||
|
|
||
|
services:
|
||
|
master:
|
||
|
build: .
|
||
|
environment:
|
||
|
TYPE: MASTER
|
||
|
UNICAST_HOSTS: master
|
||
|
MIN_MASTERS: 1
|
||
|
deploy:
|
||
|
replicas: 1
|
||
|
update_config:
|
||
|
parallelism: 1
|
||
|
data:
|
||
|
build: .
|
||
|
environment:
|
||
|
TYPE: DATA
|
||
|
UNICAST_HOSTS: master
|
||
|
deploy:
|
||
|
replicas: 2
|
||
|
update_config:
|
||
|
parallelism: 1
|
||
|
delay: 60s
|
||
|
gateway:
|
||
|
build: .
|
||
|
ports:
|
||
|
- "9200:9200"
|
||
|
- "9300:9300"
|
||
|
environment:
|
||
|
TYPE: GATEWAY
|
||
|
UNICAST_HOSTS: master
|
||
|
ingest:
|
||
|
build: .
|
||
|
ports:
|
||
|
- "9222:9200"
|
||
|
environment:
|
||
|
TYPE: INGEST
|
||
|
UNICAST_HOSTS: master
|
||
|
kibana:
|
||
|
image: kibana
|
||
|
ports:
|
||
|
- "5601:5601"
|
||
|
environment:
|
||
|
ELASTICSEARCH_URL: http://gateway:9200
|