-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose-test.yml
64 lines (60 loc) · 2.19 KB
/
docker-compose-test.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
version: '3'
services:
mrb-neo4j:
image: neo4j:3.5
restart: always
volumes:
- /etc/timezone:/etc/timezone:ro
environment:
- NEO4J_AUTH=${NEO4J_AUTH}
- NEO4J_dbms_memory_heap_max__size=10G
- NEO4J_dbms_memory_heap_initial__size=5G
- NEO4J_dbms_memory_pagecache_size=10G
- NEO4J_dbms_shell_enabled=true
- NEO4J_dbms_allow__upgrade=true
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7474"]
mr-base-api-v3-test:
container_name: mr-base-api-v3-test
image: mr-base-api-v3:latest
restart: always
volumes:
- /etc/timezone:/etc/timezone:ro
- /tmp:/app/populate_db/data:ro
- /data/ref/ld_files:/app/ld_files:ro
environment:
- NGINX_MAX_UPLOAD=750m
- UWSGI_PROCESSES=20
- UWSGI_THREADS=2
- ENV=production
- ACCESS=private
- FLASK_ENV=development
depends_on:
- mrb-neo4j
- mr-base-api-cromwell
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost"]
mr-base-api-cromwell:
build: ./app/resources/workflow
restart: always
environment:
- JAVA_OPTS=-Ddocker.hash-lookup.enabled=false -Dsystem.max-concurrent-workflows=1 -Dbackend.providers.Local.config.root=/data/cromwell-executions -Dworkflow-options.workflow-log-dir=/data/cromwell-workflow-logs -Ddatabase.profile=slick.jdbc.MySQLProfile$$ -Ddatabase.db.driver=com.mysql.cj.jdbc.Driver -Ddatabase.db.url=jdbc:mysql://mr-base-api-cromwell-mysql/cromwell?rewriteBatchedStatements=true -Ddatabase.db.user=${database_db_user} -Ddatabase.db.password=${database_db_password} -Ddatabase.db.connectionTimeout=5000
volumes:
- /etc/timezone:/etc/timezone:ro
command: ["server"]
depends_on:
- mr-base-api-cromwell-mysql
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000"]
mr-base-api-cromwell-mysql:
image: mysql:5.7
restart: always
environment:
- MYSQL_ROOT_PASSWORD=${database_db_password}
- MYSQL_DATABASE=cromwell
- MYSQL_USER=${database_db_user}
- MYSQL_PASSWORD=${database_db_password}
volumes:
- /etc/timezone:/etc/timezone:ro
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]