-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
48 lines (47 loc) · 1.43 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
46
47
48
version: '3.8'
services:
etsin-qvain-webpack:
image: fairdata-docker.artifactory.ci.csc.fi/fairdata-etsin-qvain-webpack
hostname: 'etsin-qvain-webpack'
ports:
- 8080:8080
command: npm run dev
volumes:
- ./etsin_finder/:/etsin_finder/
environment:
- CHOKIDAR_USEPOLLING=true
- base_url=0.0.0.0:8080
etsin-qvain-flask:
image: fairdata-docker.artifactory.ci.csc.fi/fairdata-etsin-qvain-flask
hostname: 'etsin-qvain-flask'
configs:
- source: etsin-qvain-app-config
target: /home/etsin-user/app_config
volumes:
- ./etsin_finder/:/etsin_finder/
- ./tests/:/tests/
environment:
- base_url=0.0.0.0:5000
- FLASK_ENV=development
- PYTHONPATH=/
- FLASK_DEBUG=1
etsin-qvain-elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.5.2
hostname: 'etsin-qvain-elasticsearch'
environment:
- base_url=0.0.0.0:9201
- http.host=0.0.0.0
- transport.host=0.0.0.0
- "ES_JAVA_OPTS=-Xms1g -Xmx1g"
- "discovery.type=single-node"
volumes:
- ./elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
etsin-qvain-memcached:
image: memcached:latest
hostname: 'etsin-qvain-memcached'
ports:
- "11211:11211"
command: ["memcached"]
configs:
etsin-qvain-app-config:
external: True