-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
73 lines (73 loc) · 2.06 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
69
70
71
72
73
name: register
networks:
elasticsearch: {}
web: {}
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
kibana:
depends_on:
elasticsearch:
condition: service_healthy
healthcheck:
test:
- CMD
- curl
- -fs
- http://localhost:5601/api/status
image: docker.io/library/kibana:8.12.0
networks:
- elasticsearch
ports:
- ${DC_KIBANA_PORT:-16492}:5601
web:
build:
context: .
target: dev
depends_on:
elasticsearch:
condition: service_healthy
env_file: .env
environment:
RAILS_DEVELOPMENT_HOSTS: $HOSTNAME
networks:
- web
- elasticsearch
ports:
- ${DC_WEB_PORT:-14972}:3000
volumes:
- ${DC_WEB_LIB_REGISTER_COMMON:-.dockerempty}:/home/x/lib/register-common
- ${DC_WEB_LIB_REGISTER_SOURCES_BODS:-.dockerempty}:/home/x/lib/register-sources-bods
- ${DC_WEB_LIB_REGISTER_SOURCES_DK:-.dockerempty}:/home/x/lib/register-sources-dk
- ${DC_WEB_LIB_REGISTER_SOURCES_OC:-.dockerempty}:/home/x/lib/register-sources-oc
- ${DC_WEB_LIB_REGISTER_SOURCES_PSC:-.dockerempty}:/home/x/lib/register-sources-psc
- ${DC_WEB_LIB_REGISTER_SOURCES_SK:-.dockerempty}:/home/x/lib/register-sources-sk
- ./.haml-lint.yml:/home/x/r/.haml-lint.yml
- ./.rubocop.yml:/home/x/r/.rubocop.yml
- ./Gemfile.lock:/home/x/r/Gemfile.lock
- ./Gemfile:/home/x/r/Gemfile
- ./app:/home/x/r/app
- ./bin:/home/x/r/bin
- ./config:/home/x/r/config
- ./package.json:/home/x/r/package.json
- ./spec:/home/x/r/spec
- ./yarn.lock:/home/x/r/yarn.lock
volumes:
elasticsearch: {}