forked from ai-dynamo/dynamo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (31 loc) · 1.07 KB
/
docker-compose.yml
File metadata and controls
35 lines (31 loc) · 1.07 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
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# Bare minimum infrastructure services for Dynamo.
# For observability (metrics, tracing, dashboards), use docker-observability.yml
networks:
server:
driver: bridge
services:
nats-server:
image: nats:2.11.4
command: [ "-c", "/etc/nats/nats-server.conf" ]
volumes:
# max_payload set to 15MB to accommodate 10MB decoded embeddings
# Base64 encoding: 10MB → ~13.3MB, 15MB provides ~1.7MB buffer for metadata
# max_payload must be configured via configuration file (does not exist as a CLI flag)
- ./nats-server.conf:/etc/nats/nats-server.conf:ro
ports:
- 4222:4222
- 6222:6222
- 8222:8222 # the endpoints include /varz, /healthz, ...
networks:
- server
etcd-server:
image: bitnamilegacy/etcd:3.6.1
environment:
- ALLOW_NONE_AUTHENTICATION=yes
ports:
- 2379:2379 # this port exposes the /metrics endpoint
- 2380:2380
networks:
- server