This repository was archived by the owner on Nov 14, 2026. It is now read-only.
Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
123 lines (118 loc) · 3.51 KB
/
Copy pathdocker-compose.yml
File metadata and controls
123 lines (118 loc) · 3.51 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
version: '3.8'
services:
om1:
build:
context: .
dockerfile: Dockerfile
image: openmindagi/om1:latest
container_name: om1
restart: unless-stopped
network_mode: host
environment:
- OM_API_KEY=${OM_API_KEY}
- OM1_COMMAND=${OM1_COMMAND:-unitree_g1_conversation}
- OM1_SKIP_INTERNET_CHECK=${OM1_SKIP_INTERNET_CHECK:-false}
- ASR_INPUT_PLUGIN=${ASR_INPUT_PLUGIN:-GoogleASRInput}
- ASR_RTSP_URL=${ASR_RTSP_URL:-rtsp://localhost:8555/live}
- VLM_RTSP_URL=${VLM_RTSP_URL:-rtsp://localhost:8556/raw}
- VLM_BACKGROUND_PLUGIN=${VLM_BACKGROUND_PLUGIN:-VLMGeminiRTSP}
- XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR}
- PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native
- PULSE_COOKIE=/root/.config/pulse/cookie
- ALSA_CARD=0
volumes:
- /etc/localtime:/etc/localtime:ro
- ./config:/app/OM1/config
- ${HOME}/shared_data/locations:/app/OM1/locations:rw
- ${HOME}/shared_data/memory:/app/OM1/memory:rw
- ${HOME}/shared_data/gallery:/app/OM1/gallery:ro
- ./traces:/app/OM1/traces:rw
- /dev/snd:/dev/snd:rw
- ${XDG_RUNTIME_DIR}/pulse:${XDG_RUNTIME_DIR}/pulse:rw
- ~/.config/pulse/cookie:/root/.config/pulse/cookie:ro
devices:
- /dev/snd:/dev/snd
- /dev/video0:/dev/video0
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
cap_add:
- SYS_PTRACE
- NET_ADMIN
security_opt:
- apparmor:unconfined
group_add:
- audio
extra_hosts:
- "host.docker.internal:host-gateway"
cosmos_edge:
image: vllm/vllm-openai:cosmos3
container_name: cosmos_edge
profiles: ["cosmos"]
restart: unless-stopped
network_mode: host
runtime: nvidia
shm_size: 8g
ulimits:
memlock: -1
environment:
- HF_TOKEN=${HF_TOKEN:-}
volumes:
- ${HOME}/.cache/huggingface:/root/.cache/huggingface
- ${HOME}/.cache/vllm:/root/.cache/vllm
command:
- --model=${COSMOS_MODEL:-nvidia/Cosmos3-Edge}
- --served-model-name=nvidia/Cosmos3-Edge
- --port=8000
- --max-model-len=8192
- --gpu-memory-utilization=${COSMOS_GPU_MEMORY_UTILIZATION:-0.1}
- --max-num-seqs=4
- --limit-mm-per-prompt={"image":1,"video":0}
healthcheck:
test: ["CMD", "curl", "-sf", "http://localhost:8000/v1/models"]
interval: 30s
timeout: 5s
start_period: 600s
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
grafana:
image: grafana/grafana:latest
build:
context: .
dockerfile: grafana/Dockerfile
container_name: grafana
ports:
- "3000:3000"
volumes:
- grafana-data:/var/lib/grafana
- ./grafana/provisioning:/etc/grafana/provisioning
- ./grafana/dashboards:/etc/grafana/dashboards
environment:
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=admin
- GF_USERS_ALLOW_SIGN_UP=false
restart: unless-stopped
extra_hosts:
- "host.docker.internal:host-gateway"
prometheus:
image: prom/prometheus:latest
container_name: prometheus
ports:
- "9091:9090"
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.retention.time=30d'
- '--storage.tsdb.retention.size=10GB'
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
- prometheus-data:/prometheus
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
grafana-data:
prometheus-data: