-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
68 lines (68 loc) · 2.04 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
version: "3"
networks:
empathy_network:
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.7.1
container_name: elasticsearch
networks:
- empathy_network
environment:
- "cluster.name=elasticsearch-cluster" #Sets the cluster name
- "node.name=elasticsearch" #Sets node name
- "xpack.security.enabled=false"
- "discovery.type=single-node"
- "ES_JAVA_OPTS=-Xms2g -Xmx2g"
ulimits:
memlock:
soft: -1
hard: -1
cap_add:
- "IPC_LOCK"
volumes:
- "./volumes/elasticsearch/data:/usr/share/elasticsearch/data"
ports:
- "9200:9200"
- "9300:9300"
search-service:
image: empathyco/search-service:28.10.1
container_name: search-service
networks:
- empathy_network
environment:
- JAVA_HEAP=256m
- SPRING_PROFILES_ACTIVE=plugins-files.local,plugins-configs.local,client.startup.file
- COLLECTION_NAMING_CONFIG_PROVIDER=local
- PLUGINS_FILES_LOCAL_PATH=/srv/plugins
- COLLECTION_NAMING_CONFIG_LOCAL_PATH=/srv/collection-config/collection-name-config.json
- COLLECTION_NAMING_CONFIG_INSTANCE=test
- PLUGINS_CONFIGS_LOCAL_PATH=/srv/plugin-configs
- CONTEXTUALIZE_ENABLED=true
- ELASTIC_READ_URL=http://elasticsearch:9200
- TRACKING_ENABLED=false
- CONTEXTUALIZE_URL=https://contextualize-api.internal.prod.empathy.co
volumes:
- "./srv/plugins:/srv/plugins"
- "./srv/plugin-configs:/srv/plugin-configs"
- "./srv/collection-config:/srv/collection-config"
ports:
- 8080:8080
frontend:
image: ghcr.io/empathyco/x-archetype:main
container_name: frontend
networks:
- empathy_network
environment:
- VUE_APP_DEVELOPMENT_DOCKER=true
ports:
- 8081:80
indexing_job:
build:
context: ./indexing
dockerfile: Dockerfile
container_name: indexing-job-local
volumes:
- "./indexing/scripts:/scripts"
- "./indexing/collection-files:/collection-files"
depends_on:
- elasticsearch