1 Commits

2 changed files with 7 additions and 12 deletions

View File

@ -24,8 +24,6 @@ x-shared:
ELASTICSEARCH_NAMESPACE:
ELASTICSEARCH_REINDEX:
ELASTICSEARCH_SSL_VERIFY:
ELASTICSEARCH_USER:
ELASTICSEARCH_PASS:
NGINX_PORT:
NGINX_SERVER_NAME:
NGINX_SERVER_SCHEME: https
@ -69,7 +67,7 @@ x-shared:
services:
zammad-elasticsearch:
image: elasticsearch:8.18.0
image: bitnami/elasticsearch:8.18.0
deploy:
restart_policy:
condition: on-failure
@ -79,13 +77,11 @@ services:
reservations:
memory: 2G
volumes:
- elasticsearch-data:/usr/share/elasticsearch/data
- elasticsearch-data:/bitnami/elasticsearch/data
environment:
discovery.type: single-node
xpack.security.enabled: 'false'
ES_JAVA_OPTS: -Xms1g -Xmx1g
- discovery.type=single-node
healthcheck:
#test: TODO
test: "/opt/bitnami/scripts/elasticsearch/healthcheck.sh"
interval: 30s
timeout: 10s
retries: 10
@ -132,9 +128,9 @@ services:
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
- "coop-cloud.${STACK_NAME}.version=3.0.0+6.5.0-34"
- "traefik.http.middlewares.${STACK_NAME}-redirect.redirectscheme.scheme=https"
- "traefik.http.middlewares.${STACK_NAME}-redirect.redirectscheme.permanent=true"
- "coop-cloud.${STACK_NAME}.version=2.1.0+6.5.0-34"
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080"]

View File

@ -1 +0,0 @@
Breaking Change. You need to run the following command to change the elasticsearch volume permissions: abra app run -u 0 <APPDOMAIN> zammad-elasticsearch -- chown elasticsearch -Rv /usr/share/elasticsearch/data