Skip to content

Commit 46354ca

Browse files
authored
Merge pull request #57 from EOSC-Data-Commons/include-harvester-image
Add harvester to docker-compose
2 parents 9ecaa2b + c6f8078 commit 46354ca

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

docker-compose.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,17 @@ services:
225225
networks:
226226
- warehouse-backend
227227

228+
# https://github.com/EOSC-Data-Commons/metadata-crawlers/pkgs/container/metadata-crawlers
229+
harvester:
230+
image: ghcr.io/eosc-data-commons/metadata-crawlers:latest
231+
env_file:
232+
- .env
233+
volumes:
234+
- harvester-logs:/app/logs
235+
entrypoint: ["python", "-m", "harvester"]
236+
networks:
237+
- warehouse-backend
238+
228239
volumes:
229240
postgres-data:
230241
pgadmin-data:
@@ -234,6 +245,7 @@ volumes:
234245
flower-data:
235246
search-api-data:
236247
frontend-data:
248+
harvester-logs:
237249

238250
networks:
239251
warehouse-backend:

env.template

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ EMBEDDING_MODEL=BAAI/bge-small-en-v1.5 # https://qdrant.github.io/fastembed/exam
1111
EMBEDDING_DIMS=384 # depends on EMBEDDING_MODEL
1212
INDEX_NAME=test_datacite
1313
CELERY_BATCH_SIZE=250
14+
ENVIRONMENT= # production/staging/dev/local
15+
WAREHOUSE_API_URL=

0 commit comments

Comments
 (0)