-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (47 loc) · 1.24 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
name: register
networks:
elasticsearch: {}
ingester: {}
services:
elasticsearch:
environment:
ES_JAVA_OPTS: -Xms512m -Xmx512m
discovery.type: single-node
xpack.security.enabled: "false"
healthcheck:
interval: 5s
retries: 6
start_period: 60s
test:
- CMD
- curl
- -fs
- http://localhost:9200/_cluster/health
image: docker.io/library/elasticsearch:8.12.0
networks:
- elasticsearch
volumes:
- elasticsearch:/usr/share/elasticsearch/data
ingester-sk:
build:
context: .
target: dev
depends_on:
elasticsearch:
condition: service_healthy
env_file: .env
networks:
- elasticsearch
- ingester
volumes:
- ${DC_INGESTER_SK_LIB_REGISTER_COMMON:-.dockerempty}:/home/x/lib/register-common
- ${DC_INGESTER_SK_LIB_REGISTER_SOURCES_SK:-.dockerempty}:/home/x/lib/register-sources-sk
- ./.rubocop.yml:/home/x/r/.rubocop.yml
- ./Gemfile.lock:/home/x/r/Gemfile.lock
- ./Gemfile:/home/x/r/Gemfile
- ./bin:/home/x/r/bin
- ./lib:/home/x/r/lib
- ./register_ingester_sk.gemspec:/home/x/r/register_ingester_sk.gemspec
- ./spec:/home/x/r/spec
volumes:
elasticsearch: {}