fix: add Elasticsearch to p2pf and bcrg for Temporal visibility
Temporal's SQLite visibility store has a 3 Text search attribute limit, which causes the Postiz backend to crash on startup. Adding Elasticsearch 7.17.24 (matching cc's config) resolves this for both spaces. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
7ce078478e
commit
643c9da192
|
|
@ -98,6 +98,24 @@ services:
|
|||
networks:
|
||||
- postiz-bcrg-internal
|
||||
|
||||
postiz-bcrg-elasticsearch:
|
||||
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.24
|
||||
container_name: postiz-bcrg-elasticsearch
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- discovery.type=single-node
|
||||
- xpack.security.enabled=false
|
||||
- "ES_JAVA_OPTS=-Xms256m -Xmx256m"
|
||||
volumes:
|
||||
- postiz-bcrg-elasticsearch-data:/usr/share/elasticsearch/data
|
||||
networks:
|
||||
- postiz-bcrg-internal
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:9200/_cluster/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
|
||||
postiz-bcrg-temporal-postgres:
|
||||
image: postgres:16
|
||||
container_name: postiz-bcrg-temporal-postgres
|
||||
|
|
@ -116,12 +134,16 @@ services:
|
|||
restart: unless-stopped
|
||||
depends_on:
|
||||
- postiz-bcrg-temporal-postgres
|
||||
- postiz-bcrg-elasticsearch
|
||||
environment:
|
||||
- DB=postgres12
|
||||
- DB_PORT=5432
|
||||
- POSTGRES_USER=temporal
|
||||
- POSTGRES_PWD=temporal
|
||||
- POSTGRES_SEEDS=postiz-bcrg-temporal-postgres
|
||||
- ENABLE_ES=true
|
||||
- ES_SEEDS=postiz-bcrg-elasticsearch
|
||||
- ES_VERSION=v7
|
||||
- TEMPORAL_NAMESPACE=default
|
||||
networks:
|
||||
- postiz-bcrg-internal
|
||||
|
|
@ -132,6 +154,7 @@ volumes:
|
|||
postiz-bcrg-config:
|
||||
postiz-bcrg-uploads:
|
||||
postiz-bcrg-temporal-postgres-data:
|
||||
postiz-bcrg-elasticsearch-data:
|
||||
|
||||
networks:
|
||||
traefik-public:
|
||||
|
|
|
|||
|
|
@ -98,6 +98,24 @@ services:
|
|||
networks:
|
||||
- postiz-p2pf-internal
|
||||
|
||||
postiz-p2pf-elasticsearch:
|
||||
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.24
|
||||
container_name: postiz-p2pf-elasticsearch
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- discovery.type=single-node
|
||||
- xpack.security.enabled=false
|
||||
- "ES_JAVA_OPTS=-Xms256m -Xmx256m"
|
||||
volumes:
|
||||
- postiz-p2pf-elasticsearch-data:/usr/share/elasticsearch/data
|
||||
networks:
|
||||
- postiz-p2pf-internal
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:9200/_cluster/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
|
||||
postiz-p2pf-temporal-postgres:
|
||||
image: postgres:16
|
||||
container_name: postiz-p2pf-temporal-postgres
|
||||
|
|
@ -116,12 +134,16 @@ services:
|
|||
restart: unless-stopped
|
||||
depends_on:
|
||||
- postiz-p2pf-temporal-postgres
|
||||
- postiz-p2pf-elasticsearch
|
||||
environment:
|
||||
- DB=postgres12
|
||||
- DB_PORT=5432
|
||||
- POSTGRES_USER=temporal
|
||||
- POSTGRES_PWD=temporal
|
||||
- POSTGRES_SEEDS=postiz-p2pf-temporal-postgres
|
||||
- ENABLE_ES=true
|
||||
- ES_SEEDS=postiz-p2pf-elasticsearch
|
||||
- ES_VERSION=v7
|
||||
- TEMPORAL_NAMESPACE=default
|
||||
networks:
|
||||
- postiz-p2pf-internal
|
||||
|
|
@ -132,6 +154,7 @@ volumes:
|
|||
postiz-p2pf-config:
|
||||
postiz-p2pf-uploads:
|
||||
postiz-p2pf-temporal-postgres-data:
|
||||
postiz-p2pf-elasticsearch-data:
|
||||
|
||||
networks:
|
||||
traefik-public:
|
||||
|
|
|
|||
Loading…
Reference in New Issue