forked from RockefellerArchiveCenter/argo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
43 lines (40 loc) · 1.02 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
version: '3'
services:
argo-db:
image: postgres:10.4
volumes:
- argodbvolume:/var/lib/postgresql/data/
argo-web:
build: .
entrypoint: /code/entrypoint.sh
environment:
- APPLICATION_PORT=${APPLICATION_PORT:-8014}
volumes:
- .:/code
ports:
- "8001:8001"
depends_on:
- argo-db
elasticsearch:
image: elasticsearch:7.9.3
environment:
- node.name=elasticsearch
- discovery.seed_hosts=elasticsearch
- cluster.initial_master_nodes=elasticsearch
- cluster.name=docker-cluster
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- http.cors.enabled=true
- http.cors.allow-origin=http://localhost:8000
- http.cors.allow-headers=Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With
- http.cors.allow-credentials=true
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- elasticsearch:/usr/share/elasticsearch/data
ports:
- 9200:9200
volumes:
argodbvolume:
elasticsearch: