-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose-dev.yml
72 lines (67 loc) · 2.21 KB
/
docker-compose-dev.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
version: '3.4'
networks:
og-api:
name: og-api
services:
og-api:
image: og-api
build:
context: .
dockerfile: ./Dockerfile-dev
ports:
- "8019:8019"
- "5678:5678"
environment:
- FLASK_APP=main.py
- FLASK_DEBUG=1
- ENV=local
- ACCESS=private
volumes:
- ./app:/app
command: ["sh", "-c", "pip install debugpy -t /tmp && python /tmp/debugpy --listen 0.0.0.0:5678 -m flask run --host 0.0.0.0 --port 8019"]
networks:
- og-api
depends_on:
- og-neo4j
og-neo4j:
image: neo4j:5.13
ports:
- "7474:7474"
- "7687:7687"
volumes:
- ./app/data/neo4j-v5/data:/data
- ./app/data/neo4j-backup:/backup
environment:
- NEO4J_AUTH=${NEO4J_AUTH}
networks:
- og-api
# mr-base-api-cromwell:
# build: ./app/resources/workflow
# restart: always
# environment:
# - JAVA_OPTS=-Ddocker.hash-lookup.enabled=false -Dsystem.max-concurrent-workflows=12 -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
# ports:
# - "8001:8000"
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock
# - /data:/data
# - /etc/timezone:/etc/timezone:ro
# - /data/ref/ld_files:/data/ld_files
# 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:
# - /data/cromwell-mysql:/var/lib/mysql
# - /etc/timezone:/etc/timezone:ro
# healthcheck:
# test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]