mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-25 17:28:10 +08:00
fae07cbc8f
* Add Dependencie Update Script * update gitea.com/lunny/levelqueue * update github.com/PuerkitoBio/goquery * update github.com/alecthomas/chroma * update github.com/blevesearch/bleve/v2 * update github.com/caddyserver/certmagic * update github.com/go-enry/go-enry/v2 * update github.com/go-redis/redis/v8 * update github.com/hashicorp/golang-lru * update github.com/klauspost/compress * update github.com/markbates/goth * update github.com/mholt/archiver/v3 * update github.com/microcosm-cc/bluemonday * update github.com/minio/minio-go/v7 * update github.com/olivere/elastic/v7 * update github.com/xanzy/go-gitlab * update github.com/yuin/goldmark
62 lines
1.6 KiB
YAML
Vendored
62 lines
1.6 KiB
YAML
Vendored
version: '3'
|
|
|
|
services:
|
|
elasticsearch:
|
|
image: docker.elastic.co/elasticsearch/elasticsearch:7.13.2
|
|
hostname: elasticsearch
|
|
environment:
|
|
- cluster.name=elasticsearch
|
|
- bootstrap.memory_lock=true
|
|
- discovery.type=single-node
|
|
# - http.publish_host=localhost
|
|
# - http.host=0.0.0.0
|
|
# - transport.host=127.0.0.1
|
|
# - network.host=_local_
|
|
- network.publish_host=127.0.0.1
|
|
- logger.org.elasticsearch=warn
|
|
- xpack.security.enabled=false
|
|
- "ES_JAVA_OPTS=-Xms1g -Xmx1g"
|
|
ulimits:
|
|
nproc: 65536
|
|
nofile:
|
|
soft: 65536
|
|
hard: 65536
|
|
memlock:
|
|
soft: -1
|
|
hard: -1
|
|
# volumes:
|
|
# - ./data/elasticsearch:/usr/share/elasticsearch/data
|
|
ports:
|
|
- 9200:9200
|
|
platinum:
|
|
image: docker.elastic.co/elasticsearch/elasticsearch:7.13.2
|
|
hostname: elasticsearch-platinum
|
|
environment:
|
|
- cluster.name=platinum
|
|
- bootstrap.memory_lock=true
|
|
- discovery.type=single-node
|
|
- xpack.license.self_generated.type=trial
|
|
- xpack.security.enabled=true
|
|
- xpack.watcher.enabled=true
|
|
# - http.publish_host=localhost
|
|
# - http.host=0.0.0.0
|
|
# - transport.host=127.0.0.1
|
|
# - network.host=_local_
|
|
- http.port=9210
|
|
- network.publish_host=127.0.0.1
|
|
- logger.org.elasticsearch=warn
|
|
- "ES_JAVA_OPTS=-Xms1g -Xmx1g"
|
|
- ELASTIC_PASSWORD=elastic
|
|
ulimits:
|
|
nproc: 65536
|
|
nofile:
|
|
soft: 65536
|
|
hard: 65536
|
|
memlock:
|
|
soft: -1
|
|
hard: -1
|
|
# volumes:
|
|
# - ./data/elasticsearch-platinum:/usr/share/elasticsearch/data
|
|
ports:
|
|
- 9210:9210
|