use variable for es port
This commit is contained in:
parent
b8708f4502
commit
799adb47ec
1 changed files with 4 additions and 3 deletions
|
@ -19,7 +19,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- external_network
|
- external_network
|
||||||
- internal_network
|
- internal_network
|
||||||
|
|
||||||
privoxy:
|
privoxy:
|
||||||
image: sirboops/privoxy
|
image: sirboops/privoxy
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -64,7 +64,7 @@ services:
|
||||||
- external_network
|
- 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:{{ es_port }}/_cluster/health || exit 1"]
|
||||||
volumes:
|
volumes:
|
||||||
- ./elasticsearch:/usr/share/elasticsearch/data
|
- ./elasticsearch:/usr/share/elasticsearch/data
|
||||||
ulimits:
|
ulimits:
|
||||||
|
@ -95,7 +95,8 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
- redis
|
- redis
|
||||||
# - es
|
{% if es_enabled %} - es
|
||||||
|
{% endif %}
|
||||||
volumes:
|
volumes:
|
||||||
- ./public/system:/mastodon/public/system
|
- ./public/system:/mastodon/public/system
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue