-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathcompose.yml
More file actions
43 lines (41 loc) · 1 KB
/
compose.yml
File metadata and controls
43 lines (41 loc) · 1 KB
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
services:
channelfinder:
build: .
image: channelfinder
hostname: channelfinder
networks:
- channelfinder-net
ports:
- "8080:8080"
- "8443:8443"
environment:
- ELASTICSEARCH_NETWORK_HOST=elasticsearch
depends_on:
elasticsearch:
condition: service_healthy
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.18.0
hostname: elasticsearch
networks:
- channelfinder-net
ports:
- "9200:9200"
environment:
cluster.name: channelfinder
discovery.type: single-node
bootstrap.memory_lock: "true"
xpack.security.enabled: "false"
EPICS_PVAS_INTF_ADDR_LIST: "0.0.0.0"
volumes:
- channelfinder-es-data:/usr/share/elasticsearch/data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9200/_cluster/health"]
interval: 10s
timeout: 5s
retries: 3
volumes:
channelfinder-es-data:
driver: local
networks:
channelfinder-net:
driver: bridge