mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-18 00:54:49 +01:00
* Update docker-compose.yml * Update docker-compose.yml * Update docker-compose.yml
This commit is contained in:
parent
af9d7a208a
commit
cc7cebb79a
@ -25,13 +25,20 @@ services:
|
|||||||
|
|
||||||
# es:
|
# es:
|
||||||
# restart: always
|
# restart: always
|
||||||
# image: docker.elastic.co/elasticsearch/elasticsearch-oss:7.17.4
|
# image: docker.elastic.co/elasticsearch/elasticsearch:7.17.4
|
||||||
# environment:
|
# environment:
|
||||||
# - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
# - "ES_JAVA_OPTS=-Xms512m -Xmx512m -Des.enforce.bootstrap.checks=true"
|
||||||
|
# - "xpack.license.self_generated.type=basic"
|
||||||
|
# - "xpack.security.enabled=false"
|
||||||
|
# - "xpack.watcher.enabled=false"
|
||||||
|
# - "xpack.graph.enabled=false"
|
||||||
|
# - "xpack.ml.enabled=false"
|
||||||
|
# - "bootstrap.memory_lock=true"
|
||||||
# - "cluster.name=es-mastodon"
|
# - "cluster.name=es-mastodon"
|
||||||
# - "discovery.type=single-node"
|
# - "discovery.type=single-node"
|
||||||
# - "bootstrap.memory_lock=true"
|
# - "thread_pool.write.queue_size=1000"
|
||||||
# networks:
|
# networks:
|
||||||
|
# - external_network
|
||||||
# - internal_network
|
# - internal_network
|
||||||
# healthcheck:
|
# healthcheck:
|
||||||
# test: ["CMD-SHELL", "curl --silent --fail localhost:9200/_cluster/health || exit 1"]
|
# test: ["CMD-SHELL", "curl --silent --fail localhost:9200/_cluster/health || exit 1"]
|
||||||
@ -41,6 +48,11 @@ services:
|
|||||||
# memlock:
|
# memlock:
|
||||||
# soft: -1
|
# soft: -1
|
||||||
# hard: -1
|
# hard: -1
|
||||||
|
# nofile:
|
||||||
|
# soft: 65536
|
||||||
|
# hard: 65536
|
||||||
|
# ports:
|
||||||
|
# - '127.0.0.1:9200:9200'
|
||||||
|
|
||||||
web:
|
web:
|
||||||
build: .
|
build: .
|
||||||
|
Loading…
Reference in New Issue
Block a user