-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
45 lines (43 loc) · 1.3 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
version: "3.7"
services:
# It is impossible to store scds with an localhost url when using this comopse file.
# Use the external IP of the storage device.
scd-registry-external-search-provider:
container_name: scd-registry-external-search-provider
build:
context: .
dockerfile: docker/scd-registry-external-search-provider/Dockerfile
restart: unless-stopped
environment:
- ELASTICSEARCH_URL=${ELASTICSEARCH_URL:-http://elasticsearch:9200}
- NETWORKISH=${NETWORKISH:-http://localhost:8545}
- SWARM_API=${SWARM_API:-http://localhost:1633}
- REGISTRY_ADDRESS=${REGISTRY_ADDRESS:-0x222E34DA1926A9041ed5A87f71580D4D27f84fD3}
ports:
- "3000:3000"
depends_on:
- elasticsearch
# Elasticsearch Docker Images: https://www.docker.elastic.co/
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.1.2
container_name: elasticsearch
environment:
- xpack.security.enabled=false
- discovery.type=single-node
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
cap_add:
- IPC_LOCK
volumes:
- elasticsearch-data:/usr/share/elasticsearch/data
ports:
- "9200:9200"
- "9300:9300"
volumes:
elasticsearch-data:
driver: local