-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (29 loc) · 651 Bytes
/
docker-compose.yml
File metadata and controls
31 lines (29 loc) · 651 Bytes
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
version: '3'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.8.2
container_name: elasticsearch
environment:
- discovery.type=single-node
- xpack.security.enabled=false
ports:
- '9200:9200'
- '9300:9300'
volumes:
- esdata:/usr/share/elasticsearch/data
app:
build:
context: .
dockerfile: docker/Dockerfile
environment:
- PORT=${PORT}
- GITHUB_API_KEY=${GITHUB_API_KEY}
- ES_HOST=host.docker.internal
ports:
- '${PORT}:${PORT}'
depends_on:
- elasticsearch
links:
- elasticsearch
volumes:
esdata: