-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose.yml
44 lines (42 loc) · 1.07 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
version: "3"
services:
channelfinder:
build: .
image: channelfinder
hostname: channelfinder
networks:
- channelfinder-net
ports:
- "8443:8443"
depends_on:
- elasticsearch
environment:
- ELASTICSEARCH_NETWORK_HOST=elasticsearch-cf
command: >
/bin/bash -c "
until curl --silent --fail http://elasticsearch-cf:9200/_cluster/health; do
echo 'Waiting for Elasticsearch'
sleep 1
done
java -jar /channelfinder/ChannelFinder-*.jar"
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.11.2
hostname: elasticsearch-cf
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
volumes:
channelfinder-es-data:
driver: local
networks:
channelfinder-net:
driver: bridge