-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
47 lines (47 loc) · 1.54 KB
/
compose.yaml
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
include:
- path: app/connector/linear/compose.yaml
services:
engine:
build:
context: engine
dockerfile: Dockerfile.engine
pull: true
environment:
AUTHN_CONFIG_PATH: /md/auth_config.json
ENABLE_CORS: "true"
ENABLE_SQL_INTERFACE: "true"
INTROSPECTION_METADATA_FILE: /md/metadata.json
METADATA_PATH: /md/open_dd.json
OTLP_ENDPOINT: http://local.hasura.dev:4317
extra_hosts:
- local.hasura.dev:host-gateway
labels:
io.hasura.ddn.service-name: engine
ports:
- 3280:3000
otel-collector:
command:
- --config=/etc/otel-collector-config.yaml
environment:
HASURA_DDN_PAT: ${HASURA_DDN_PAT}
image: otel/opentelemetry-collector:0.104.0
ports:
- 4317:4317
- 4318:4318
volumes:
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml
promptql-playground:
environment:
ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY}
CORS_ORIGINS: ${CORS_ORIGINS:-https://console.hasura.io}
ENGINE_URL: ${HASURA_DDN_URL:-http://engine:3000/v1/sql}
LLM: ${LLM:-anthropic}
OPENAI_API_KEY: ${OPENAI_API_KEY}
OTEL_EXPORTER_OTLP_ENDPOINT: ${OTEL_EXPORTER_OTLP_ENDPOINT:-http://host.docker.internal:4317}
PROMPTQL_SECRET_KEY: ${PROMPTQL_SECRET_KEY}
PROMPTQL_URI: ${PROMPTQL_URI:-wss://runtime.promptql.pro.hasura.io}
image: us-east4-docker.pkg.dev/promptql-execution-service/promptql-public/promptql-playground-local
labels:
io.hasura.ddn.service-name: promptql-playground
ports:
- 3282:5000