-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
120 lines (112 loc) · 2.55 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
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
version: "3.2"
services:
neo4j:
container_name: neo4j
image: ${REG}/agr_neo4j_env:${DOCKER_PULL_TAG}
volumes:
- type: volume
source: agr_data_share
target: /var/lib/neo4j/import
volume:
nocopy: true
ports:
- "127.0.0.1:7474:7474"
- "127.0.0.1:7687:7687"
networks:
- esnet
environment:
- NEO4J_dbms_memory_heap_max__size=12000m
- NEO4J_dbms_memory_pagecache_size=12000m
agr_loader:
image: ${REG}/agr_loader_run:${DOCKER_BUILD_TAG}
volumes:
- type: volume
source: agr_data_share
target: /usr/src/app/tmp
volume:
nocopy: true
networks:
- esnet
environment:
- PYTHONUNBUFFERED=1
- TEST_SET=False
- UNIT_TESTS=False
- NEO4J_HOST=neo4j
- NET=production
- ALLIANCE_RELEASE=${ALLIANCE_RELEASE}
- FMS_API_URL=https://fms.alliancegenome.org
- API_KEY=${API_KEY}
entrypoint:
- conda
- run
- -n
- agr_loader
- --no-capture-output
- python3
- -u
- src/aggregate_loader.py
- -c
- develop.yml
agr_loader_test:
image: ${REG}/agr_loader_run:${DOCKER_BUILD_TAG}
volumes:
- type: volume
source: agr_data_share
target: /usr/src/app/tmp
volume:
nocopy: true
networks:
- esnet
environment:
- PYTHONUNBUFFERED=1
- TEST_SET=True
- UNIT_TESTS=False
- NEO4J_HOST=neo4j
- NET=production
- ALLIANCE_RELEASE=${ALLIANCE_RELEASE}
- FMS_API_URL=https://fms.alliancegenome.org
- API_KEY=${API_KEY}
- TEST_SCHEMA_BRANCH=${TEST_SCHEMA_BRANCH:-master}
entrypoint:
- conda
- run
- -n
- agr_loader
- --no-capture-output
- python3
- -u
- src/aggregate_loader.py
- -c
- ${TEST_CONFIG_OVERIDE:-test.yml}
agr_loader_test_unit_tests:
image: ${REG}/agr_loader_run:${DOCKER_BUILD_TAG}
volumes:
- type: volume
source: agr_data_share
target: /usr/src/app/tmp
volume:
nocopy: true
networks:
- esnet
environment:
- PYTHONUNBUFFERED=1
- TEST_SET=True
- UNIT_TESTS=False
- NEO4J_HOST=neo4j
- NET=production
- ALLIANCE_RELEASE=${ALLIANCE_RELEASE}
- FMS_API_URL=https://fms.alliancegenome.org
- API_KEY=${API_KEY}
entrypoint:
- conda
- run
- -n
- agr_loader
- --no-capture-output
- pytest
- --verbose
- -n=10
networks:
esnet:
volumes:
agr_data_share: