2022-01-07 16:41:49 +00:00
|
|
|
version: "3.9"
|
|
|
|
x-logging:
|
|
|
|
&default-logging
|
|
|
|
driver: "json-file"
|
|
|
|
options:
|
|
|
|
max-size: "1M"
|
|
|
|
max-file: "10"
|
|
|
|
services:
|
2022-11-11 20:22:11 +00:00
|
|
|
fedisearch-storage:
|
|
|
|
image: skorpil/fedistore:latest
|
|
|
|
build:
|
|
|
|
context: ./build/fedistore
|
|
|
|
target: prod
|
|
|
|
volumes:
|
|
|
|
- ./build/fedistore/application:/srv
|
|
|
|
environment:
|
|
|
|
- 'ELASTIC_URL=http://elastic:9200'
|
|
|
|
- 'ELASTIC_PASSWORD=${FEDISEARCH_ELASTIC_PASSWORD}'
|
2023-01-19 16:44:27 +00:00
|
|
|
- 'ACCESS_WRITE=${FEDISEARCH_KEY_CRAWLER},${FEDISEARCH_KEY_ADMIN}'
|
|
|
|
- 'CORS_ALLOWED_ORIGINS=${FEDISEARCH_CORS_ALLOWED_ORIGINS}'
|
2022-11-11 20:22:11 +00:00
|
|
|
networks:
|
|
|
|
fedisearch:
|
|
|
|
logging: *default-logging
|
|
|
|
depends_on:
|
|
|
|
- fedisearch-elasticsearch
|
2022-01-07 16:41:49 +00:00
|
|
|
fedisearch-crawler:
|
|
|
|
image: skorpil/fedicrawl:latest
|
|
|
|
restart: always
|
|
|
|
build:
|
|
|
|
context: ./build/fedicrawl
|
|
|
|
target: prod
|
|
|
|
environment:
|
|
|
|
- 'SEED_NODE_DOMAIN=${FEDISEARCH_SEED}'
|
|
|
|
- 'TZ=${FEDISEARCH_TIMEZONE}'
|
|
|
|
- 'REATTEMPT_MINUTES=${FEDISEARCH_REATTEMPT_MINUTES}'
|
|
|
|
- 'REFRESH_HOURS=${FEDISEARCH_REFRESH_HOURS}'
|
|
|
|
- 'WAIT_FOR_JOB_MINUTES=${FEDISEARCH_WAIT_FOR_JOB_MINUTES}'
|
|
|
|
- 'DEFAULT_TIMEOUT_MILLISECONDS=${FEDISEARCH_DEFAULT_TIMEOUT_MILLISECONDS}'
|
2022-11-29 13:11:27 +00:00
|
|
|
- 'SEED_TIMEOUT_MILLISECONDS=${FEDISEARCH_SEED_TIMEOUT_MILLISECONDS}'
|
2022-09-14 19:16:05 +00:00
|
|
|
- 'ELASTIC_URL=http://elastic:9200'
|
|
|
|
- 'ELASTIC_PASSWORD=${FEDISEARCH_ELASTIC_PASSWORD}'
|
|
|
|
- 'BANNED_DOMAINS=${FEDISEARCH_BANNED_DOMAINS}'
|
2022-11-23 23:39:18 +00:00
|
|
|
- 'MAX_CRAWLING_DEPTH=${FEDISEARCH_MAX_CRAWLING_DEPTH}'
|
|
|
|
- 'CRAWLING_VERSION=${FEDISEARCH_CRAWLING_VERSION}'
|
2023-01-19 16:44:27 +00:00
|
|
|
- 'STORE_KEY=${FEDISEARCH_KEY_CRAWLER}'
|
2022-01-07 16:41:49 +00:00
|
|
|
networks:
|
|
|
|
fedisearch:
|
|
|
|
logging: *default-logging
|
|
|
|
depends_on:
|
2022-11-11 20:22:11 +00:00
|
|
|
- fedisearch-storage
|
2022-01-07 16:41:49 +00:00
|
|
|
|
|
|
|
fedisearch-searcher:
|
|
|
|
image: skorpil/fedisearch:latest
|
|
|
|
restart: always
|
|
|
|
build:
|
|
|
|
context: ./build/fedisearch
|
|
|
|
target: prod
|
|
|
|
environment:
|
|
|
|
- 'MATOMO_URL=${FEDISEARCH_MATOMO_URL}'
|
|
|
|
- 'MATOMO_SITE_ID=${FEDISEARCH_MATOMO_SITE_ID}'
|
2022-01-15 00:59:06 +00:00
|
|
|
- 'STATS_CACHE_MINUTES=${FEDISEARCH_STATS_CACHE_MINUTES}'
|
2022-01-07 16:41:49 +00:00
|
|
|
- 'TZ=${FEDISEARCH_TIMEZONE}'
|
2023-01-03 20:11:02 +00:00
|
|
|
- 'GRAPHQL_URL=http://localhost:4000/api/graphql'
|
2022-01-07 16:41:49 +00:00
|
|
|
networks:
|
|
|
|
fedisearch:
|
|
|
|
logging: *default-logging
|
|
|
|
depends_on:
|
2022-11-11 20:22:11 +00:00
|
|
|
- fedisearch-storage
|
2022-09-14 19:16:05 +00:00
|
|
|
fedisearch-elasticsearch:
|
|
|
|
image: elasticsearch:8.4.1
|
2023-01-03 20:11:02 +00:00
|
|
|
restart: always
|
2022-01-07 16:41:49 +00:00
|
|
|
environment:
|
2023-07-25 14:29:55 +00:00
|
|
|
- xpack.security.enrollment.enabled=true
|
2022-09-14 19:16:05 +00:00
|
|
|
- discovery.type=single-node
|
|
|
|
- ELASTIC_PASSWORD=${FEDISEARCH_ELASTIC_PASSWORD}
|
2022-01-07 16:41:49 +00:00
|
|
|
- 'TZ=${FEDISEARCH_TIMEZONE}'
|
2022-09-14 19:16:05 +00:00
|
|
|
volumes:
|
|
|
|
- fedisearch-elasticsearch-data:/usr/share/elasticsearch/data
|
2022-01-07 16:41:49 +00:00
|
|
|
networks:
|
|
|
|
fedisearch:
|
|
|
|
aliases:
|
2022-09-14 19:16:05 +00:00
|
|
|
- elastic
|
2022-01-07 16:41:49 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
fedisearch:
|
|
|
|
|
|
|
|
volumes:
|
2022-09-14 19:16:05 +00:00
|
|
|
fedisearch-elasticsearch-data:
|