-
Notifications
You must be signed in to change notification settings - Fork 2
/
.lando.yml
147 lines (146 loc) · 4.33 KB
/
.lando.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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
name: cube-creator
env_file:
- .local.env
- .env
services:
core:
type: node:custom
command: mkdir -p /var/www/.npm-global/lib && npx nodemon -w packages -w apis --verbose --ext ts,ttl,js,trig --ignore **/*.test.ts --ignore **/*.spec-graphs.ts --exec node --inspect=0.0.0.0:45671 -r ts-node/register --inspect apis/core/index.ts
ssl: true
overrides:
image: node:18
ports:
- "45671:45671"
environment:
TS_NODE_TRANSPILE_ONLY: "true"
TS_NODE_PROJECT: apis/core/tsconfig.json
# This should be kept in sync with api.Dockerfile
DEBUG: creator*,hydra*,hydra-box*,labyrinth*,dimensions*
depends_on:
store:
condition: service_healthy
moreHttpPorts:
- 45671
ui:
type: node:custom
command: (cd ui; yarn serve --public app.cube-creator.lndo.site --hostname 0.0.0.0 --port 80)
ssl: true
overrides:
image: node:18
environment:
NO_WEBSOCKET: "true"
store:
type: compose
ssl: true
build_as_root:
- /opt/java-minimal/bin/keytool -importcert -trustcacerts -noprompt -storepass changeit -cacerts -file /usr/share/ca-certificates/lndo.site.pem -alias LandoCert
services:
image: ghcr.io/zazuko/fuseki-geosparql:v2.0.3
command: /opt/fuseki/entrypoint.sh
user: root
environment:
ADMIN_PASSWORD: password
OTEL_SERVICE_NAME: store
OTEL_TRACES_EXPORTER: jaeger
OTEL_EXPORTER_JAEGER_ENDPOINT: http://jaeger:14250
OTEL_PROPAGATORS: tracecontext,jaeger
volumes:
- ./fuseki/config.ttl:/fuseki/config.ttl
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:3030/$$/ping || exit 1
interval: 5s
timeout: 3s
retries: 10
depends_on:
- collector
trifid:
type: compose
app_mount: false
ssl: true
scanner: false
services:
image: ghcr.io/zazuko/trifid:v2
user: root
command: tini -- /app/server.js --config=/config-sparql.json --sparql-endpoint-url=http://admin:[email protected]/cube-creator
environment:
DEBUG: "trifid*"
s3:
type: compose
ssl: true
scanner: false
services:
image: minio/minio:RELEASE.2020-12-03T05-49-24Z
command: usr/bin/docker-entrypoint.sh server /data
environment:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: password
volumes:
- ./minio:/data/
pipeline:
type: node:custom
command: mkdir -p /var/www/.npm-global/lib && npx nodemon -w packages -w cli --verbose --ext ts,ttl,js,trig --ignore **/*.spec.ts --ignore **/*.spec-graphs.ts --exec node --inspect=0.0.0.0:45681 -r ts-node/register --inspect cli/server.ts
port: 80
scanner: false
overrides:
image: node:18
ports:
- "45681:45681"
environment:
TS_NODE_TRANSPILE_ONLY: "true"
NODE_TLS_REJECT_UNAUTHORIZED: 0
moreHttpPorts:
- 45681
collector:
type: compose
scanner: false
services:
build:
context: ./otel
dockerfile: .Dockerfile
command: /otel/otelcol --config=/collector.yaml
ports:
- 55681:55681
- 8889:8889
volumes:
- ./otel/collector.yaml:/collector.yaml:ro
depends_on:
jaeger:
condition: service_healthy
jaeger:
type: compose
scanner: false
services:
image: jaegertracing/all-in-one:1.42
command: /go/bin/all-in-one-linux --sampling.strategies-file=/etc/jaeger/sampling_strategies.json
healthcheck:
test: wget -nv -t1 --spider localhost:14269/ || exit 1
interval: 5s
timeout: 3s
retries: 10
prometheus:
type: compose
scanner: false
services:
image: prom/prometheus:v2.33.4
command: /bin/prometheus --config.file=/prometheus.yaml --web.enable-lifecycle
volumes:
- ./otel/prometheus.yaml:/prometheus.yaml:ro
proxy:
store:
- db.cube-creator.lndo.site:3030
trifid:
- trifid.cube-creator.lndo.site:8080
core:
- cube-creator.lndo.site:45670
ui:
- app.cube-creator.lndo.site
s3:
- s3.cube-creator.lndo.site:9000
pipeline:
- pipeline.cube-creator.lndo.site
collector:
- otel.cube-creator.lndo.site:55681
jaeger:
- jaeger.cube-creator.lndo.site:16686
prometheus:
- prometheus.cube-creator.lndo.site:9090