forked from nearai/nearai
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
65 lines (62 loc) · 1.67 KB
/
docker-compose.yaml
File metadata and controls
65 lines (62 loc) · 1.67 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
version: '3.8'
services:
runner:
build:
context: .
dockerfile: aws_runner/py_runner/Dockerfile
args:
FRAMEWORK: -minimal
platforms:
- linux/amd64
image: nearai-runner:test
ports:
- "9009:8080"
volumes:
- ~/.nearai/registry:/root/.nearai/registry
command: ["nearai/aws_runner/service.handler"]
env_file:
- .env
environment:
- RUNNER_API_KEY=${RUNNER_API_KEY}
- DD_API_KEY=${DD_API_KEY}
- DD_APM_ENABLED=false
- DD_APM_NON_LOCAL_TRAFFIC=false
- DD_ENV=${DD_ENV}
- DD_VERSION=${DD_VERSION}
- DD_SERVICE=runner-local
- DD_LOGS_ENABLED=false
- DD_LOGS_CONFIG_CONTAINER_COLLECT_ALL=false
- DD_SITE=${DD_SITE}
- DD_TRACE_ENABLED=false
db:
image: ghcr.io/singlestore-labs/singlestoredb-dev:latest
platform: linux/amd64
environment:
- ROOT_PASSWORD=change-me
ports:
- "3306:3306"
- "8080:8080"
- "9000:9000"
datadog-agent:
image: gcr.io/datadoghq/agent:latest
env_file:
- .env
environment:
- DD_API_KEY=${DD_API_KEY}
- DD_APM_ENABLED=true
- DD_APM_NON_LOCAL_TRAFFIC=true
- DD_ENV=${DD_ENV}
- DD_VERSION=${DD_VERSION}
- DD_SERVICE=${DD_SERVICE}
- DD_HOSTNAME=${DD_HOSTNAME}
- DD_LOGS_ENABLED=true
- DD_LOGS_CONFIG_CONTAINER_COLLECT_ALL=true
- DD_TRACE_AGENT_PORT=${DD_TRACE_AGENT_PORT}
- DD_TRACE_AGENT_URL=${DD_TRACE_AGENT_URL}
- DD_SITE=${DD_SITE}
ports:
- "8126:8126"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- /proc/:/host/proc/:ro
- /sys/fs/cgroup/:/host/sys/fs/cgroup:ro