зеркало из https://github.com/github/vulcanizer.git
76 строки
1.8 KiB
YAML
76 строки
1.8 KiB
YAML
version: '3'
|
|
|
|
services:
|
|
elasticsearch-v5:
|
|
build:
|
|
context: .
|
|
dockerfile: elasticsearch.dockerfile
|
|
image: vulcanizer-elasticsearch:v5
|
|
container_name: vulcanizer-elasticsearch-v5
|
|
environment:
|
|
- cluster.name=vulcanizer-elasticsearch-v5
|
|
- node.name=vulcanizer-elasticsearch-v5
|
|
- bootstrap.memory_lock=true
|
|
- "path.repo=/backups"
|
|
- "ES_JAVA_OPTS=-Xms512M -Xmx512M"
|
|
- xpack.security.enabled=false
|
|
- xpack.monitoring.enabled=false
|
|
- xpack.ml.enabled=false
|
|
- xpack.graph.enabled=false
|
|
- xpack.watcher.enabled=false
|
|
ulimits:
|
|
memlock:
|
|
soft: -1
|
|
hard: -1
|
|
nofile:
|
|
soft: 65536
|
|
hard: 65536
|
|
cap_add:
|
|
- IPC_LOCK
|
|
ports:
|
|
- 49200:9200
|
|
networks:
|
|
- vulcanizer-esnet
|
|
volumes:
|
|
- vulcanizer-backup-volume:/backups
|
|
|
|
elasticsearch-v5-2:
|
|
build:
|
|
context: .
|
|
dockerfile: elasticsearch-v5.dockerfile
|
|
image: vulcanizer-elasticsearch:v5
|
|
depends_on:
|
|
- "elasticsearch-v5"
|
|
container_name: vulcanizer-elasticsearch-v5-2
|
|
environment:
|
|
- cluster.name=vulcanizer-elasticsearch-v5
|
|
- bootstrap.memory_lock=true
|
|
- node.name=vulcanizer-elasticsearch-v5-2
|
|
- "path.repo=/backups"
|
|
- "discovery.zen.ping.unicast.hosts=vulcanizer-elasticsearch-v5"
|
|
- "ES_JAVA_OPTS=-Xms512M -Xmx512M"
|
|
- xpack.security.enabled=false
|
|
- xpack.monitoring.enabled=false
|
|
- xpack.ml.enabled=false
|
|
- xpack.graph.enabled=false
|
|
- xpack.watcher.enabled=false
|
|
ulimits:
|
|
memlock:
|
|
soft: -1
|
|
hard: -1
|
|
nofile:
|
|
soft: 65536
|
|
hard: 65536
|
|
cap_add:
|
|
- IPC_LOCK
|
|
networks:
|
|
- vulcanizer-esnet
|
|
volumes:
|
|
- vulcanizer-backup-volume:/backups
|
|
|
|
networks:
|
|
vulcanizer-esnet:
|
|
|
|
volumes:
|
|
vulcanizer-backup-volume:
|