-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
90 lines (90 loc) · 2.49 KB
/
docker-compose.yaml
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
version: '3.8'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.5.2
container_name: elasticsearch
environment:
- http.host=0.0.0.0
- transport.host=0.0.0.0
- bootstrap.memory_lock=true
- "discovery.type=single-node"
- "ES_JAVA_OPTS=-Xms1024m -Xmx1024m"
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
# deploy:
# resources:
# limits:
# memory: 2g
mem_limit: 2g
cap_add:
- IPC_LOCK
volumes:
- ./dockerconfig/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
ports:
- "9200:9200"
- "9300:9300"
kibana:
image: docker.elastic.co/kibana/kibana:7.5.2
container_name: kibana
environment:
- SERVER_NAME=kibana
- SERVER_HOST=0.0.0.0
- ELASTICSEARCH_HOSTS=http://elasticsearch:9200
ports:
- "5601:5601"
unichem:
build: Docker/.
container_name: unichem
image: chembl/unichem2index
platform: linux/x86_64
volumes:
- ./build/logs/:/opt/unichem/build/logs/
- ./build/config.yaml:/opt/unichem/config.yaml
entrypoint: [ "./unichem2index", "-config=/opt/unichem/config.yaml", "-v" ]
unichem-dev:
build: Docker/.
container_name: unichem
image: chembl/unichem2index
platform: linux/x86_64
volumes:
- ~/ebi/dev/ChEMBL/unichem/unichem2index:/opt/unichem/
entrypoint: [ "tail", "-f", "/dev/null" ]
golangBuilder:
image: golang:1.17-stretch
platform: linux/amd64
container_name: uniIndexerDocker
volumes:
- ~/ebi/dev/ChEMBL/unichem/unichem2index:/opt/unichem2index
working_dir: /opt/unichem2index/
# entrypoint: ["tail", "-f", "/dev/null"]
entrypoint: [ "make", "build-docker" ]
localBuild:
image: golang:1.17-stretch
platform: linux/amd64
container_name: uniIndexerLocal
volumes:
- ~/ebi/dev/ChEMBL/unichem/unichem2index:/opt/unichem2index
working_dir: /opt/unichem2index/
# entrypoint: ["tail", "-f", "/dev/null"]
entrypoint: [ "make", "build" ]
# oradbxe:
# image: wnameless/oracle-xe-11g
# container_name: oradb
# ports:
# - 1521:1521
# shm_size: 2gb
# volumes:
# - ./dockerconfig/configure.sql:/docker-entrypoint-initdb.d/configure.sql
mongo:
image: mongo:4.4
restart: always
ports:
- "27017:27017"
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: example