-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
129 lines (123 loc) · 3.43 KB
/
Copy pathcompose.yaml
File metadata and controls
129 lines (123 loc) · 3.43 KB
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
120
121
122
123
124
125
126
127
128
129
name: ${LOOM_COMPOSE_PROJECT_NAME:-loom-demo}
services:
arangodb:
image: arangodb:3.12
environment:
ARANGO_NO_AUTH: "1"
healthcheck:
test: ["CMD-SHELL", "wget --quiet --tries=1 --spider http://127.0.0.1:8529/_api/version"]
interval: 5s
timeout: 5s
retries: 30
volumes:
- arangodb_data:/var/lib/arangodb3
clickhouse:
image: clickhouse/clickhouse-server:25.3
environment:
CLICKHOUSE_DB: loom_acceptance_d000000000000001
CLICKHOUSE_USER: loom_demo
CLICKHOUSE_PASSWORD: loom_demo_password
CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT: "1"
healthcheck:
test: ["CMD-SHELL", "wget --quiet --tries=1 --spider --user=loom_demo --password=loom_demo_password http://127.0.0.1:8123/ping"]
interval: 5s
timeout: 5s
retries: 30
volumes:
- clickhouse_data:/var/lib/clickhouse
loom-api:
image: ${LOOM_API_IMAGE:-loom-demo-api:local}
build:
context: .
command:
- --listen
- :8080
- --no-auth
- --url
- http://arangodb:8529
- --database
- loom_acceptance_d000000000000001
- --schema
- /app/schemas/graph-fhir.json
- --clickhouse-url
- clickhouse://clickhouse:9000
- --clickhouse-database
- loom_acceptance_d000000000000001
- --clickhouse-username
- loom_demo
- --clickhouse-password
- loom_demo_password
- --dataframer-recipe
- /app/testdata/recipe.json
- --recipe-query-page-rows
- ${LOOM_RECIPE_QUERY_PAGE_ROWS:-25}
depends_on:
arangodb:
condition: service_healthy
clickhouse:
condition: service_healthy
healthcheck:
test: ["CMD-SHELL", "wget -q -O - http://127.0.0.1:8080/readyz >/dev/null"]
interval: 5s
timeout: 5s
retries: 30
ports:
- target: 8080
published: ${LOOM_API_PORT:-8080}
host_ip: ${LOOM_API_HOST:-127.0.0.1}
volumes:
- ${LOOM_DEMO_FIXTURE_DIR:-./testdata/acceptance/ncpi-tcga-brca}:/app/testdata:ro
demo-seed:
image: ${LOOM_API_IMAGE:-loom-demo-api:local}
entrypoint: ["/app/loom-acceptance"]
command:
- --run-id
- d000000000000001
- --loom-url
- http://loom-api:8080
- --arango-url
- http://arangodb:8529
- --clickhouse-url
- clickhouse://clickhouse:9000
- --clickhouse-username
- loom_demo
- --clickhouse-password
- loom_demo_password
- --fixture-lock
- /app/testdata/fixture.lock.json
- --fixture-cache
- /var/cache/loom
- --workspace
- /app/testdata/workspace.json
- --oracle
- /app/testdata/oracle.json
- --artifacts
- /var/lib/loom/artifacts
- --project
- ${LOOM_DEMO_PROJECT:-NCPI_ACCEPTANCE}
- --generation
- ${LOOM_DEMO_GENERATION:-tcga-brca-locked}
depends_on:
loom-api:
condition: service_healthy
volumes:
- ${LOOM_DEMO_FIXTURE_DIR:-./testdata/acceptance/ncpi-tcga-brca}:/app/testdata:ro
- fixture_cache:/var/cache/loom
- demo_artifacts:/var/lib/loom/artifacts
restart: "no"
loom-ui:
build:
context: ./ui
dockerfile: apps/demo/Dockerfile
depends_on:
loom-api:
condition: service_healthy
ports:
- target: 8080
published: ${LOOM_UI_PORT:-3080}
host_ip: ${LOOM_UI_HOST:-127.0.0.1}
volumes:
arangodb_data:
clickhouse_data:
fixture_cache:
demo_artifacts: